#include "..\script_component.hpp" /* * Author: esteldunedain * Returns if the GPS on the map can be used. * * Arguments: * None * * Return Value: * GPS can be used * * Example: * call ace_maptools_fnc_canUseMapGPS * * Public: No */ if (!visibleMap || {!alive ACE_player}) exitWith {false}; private _panels = flatten (ACE_player infoPanelComponents "left"); private _index = _panels find "MinimapDisplayComponent"; _index != -1 && {_panels select (_index + 1)}