ACE3/addons/fcs/functions/fnc_canUseRangefinder.sqf
Phyma ffaa195fe5 Conform function headers to coding guidelines (#5255)
* Fixed headers to work with silentspike python script

* Fixed rest of the files

* Fixed ace-team
2017-06-08 15:31:51 +02:00

20 lines
400 B
Plaintext

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