Page MenuHomeFeedback Tracker

[Feature Request] Script command to limit vision modes for scopes, nightvisiongoggles and helmets
New, NormalPublic

Description

Hey, I saw the new helmets you added in ("H_HelmetO_ViperSP_ghex_F").

The only problem is the thermal vision mode. I would like to prevent players on the server to use the thermal vision mode. I can get the current vision mode with the script command:

currentVisionMode player

But if I want to change the current vision mode, I can just script around the lack of possibilities like that:

player addHeadgear"H_HelmetO_ViperSP_ghex_F";
(finddisplay 46)displayAddEventHandler["KeyDown",{
	_r=false;
	if((_this select 1)in(actionKeys'NightVision')&&currentVisionMode player==1&&headgear player=='H_HelmetO_ViperSP_ghex_F')then{
		removeHeadgear player;
		player addHeadgear"H_HelmetO_ViperSP_ghex_F";
		_r=true
	};	
_r}];

I would like to see a script command like:

player disableVisionMode 2;

Greets,
Molaron

Details

Severity
Feature
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Operating System Version
10.0.10586 Build 10586
Category
Feature Request

Event Timeline

Molaron created this task.Jun 13 2016, 11:48 PM