ACE3/addons/fcs/functions/fnc_canUseRangefinder.sqf

20 lines
403 B
Plaintext
Raw Normal View History

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