ACE3/addons/fcs/functions/fnc_canUseRangefinder.sqf
2015-01-12 11:02:44 +01:00

17 lines
326 B
Plaintext

/*
* Author: commy2
*
* Returns true if the laser distance measurement can be read from the engine.
*
* Argument:
* Nothing
*
* Return value:
* Boolean (Bool)
*/
#include "script_component.hpp"
!isNull ((uiNamespace getVariable ["ACE_dlgRangefinder", displayNull]) displayCtrl 1713151)
&& {cameraView == "GUNNER"}