ACE3/addons/fcs/functions/fnc_canUseRangefinder.sqf
2018-01-17 03:36:10 -08:00

17 lines
347 B
Plaintext

/*
* Author: commy2
* Returns true if the laser distance measurement can be read from the engine.
*
* Arguments:
* None
*
* Return Value:
* Boolean <BOOL>
*
* Public: No
*/
#include "script_component.hpp"
!isNull ((uiNamespace getVariable ["ACE_dlgRangefinder", displayNull]) displayCtrl 1713151)
&& {cameraView == "GUNNER"} // return