Arma 3 Scripting

showGPS

  • Arma 3 v0.50
  • First in Operation Flashpoint v1.00

Command · Markdown · JSON · original wiki page

Description

Shows or hides the GPS receiver on the map screen, if enabled for the mission and you possess the item. (default false).

Note

This command does nothing in Arma 3. Use the command openGPS that is available since v2.04.

Syntax

showGPS show

Parameters:

Returns: Nothing

Examples

Example 1

showGPS true;

See also

openGPS · shownGPS · visibleGPS · showCompass · showRadio · showWatch · showPad

Community notes

Generalcarver

In Arma 2, the GPS is now an inventory item. Class path is CfgWeapons->ItemGPS. Use the commands addWeapon and removeWeapon to add or remove it from a unit's inventory. (example: player addweapon "ItemGPS")

Galzohar

In Arma 2 GPS is also an item, so will not be removed by removeAllWeapons, even though it can be removed by removeWeapon and added by addWeapon. To remove all items use the removeAllItems command (though this will also remove basic items such as map and compass).