ACE3/addons/maptools/functions/fnc_canUseMapGPS.sqf
johnb432 6ba46ffa90
Map Tools - Code cleanup (#9750)
* Maptools cleanup

* Changed conditions to check

* Minor cleanup + fix
2024-02-03 10:48:21 -08:00

21 lines
333 B
Plaintext

#include "..\script_component.hpp"
/*
* Author: esteldunedain
* Returns if the GPS on the map can be used.
*
* Arguments:
* None
*
* Return Value:
* GPS can be used <BOOL>
*
* Example:
* call ace_maptools_fnc_canUseMapGPS
*
* Public: No
*/
visibleMap &&
{alive ACE_player} &&
{"ItemGPS" in (assignedItems ACE_player)}