OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting Multiplayer => Topic started by: DucusSumus on 19 May 2007, 09:08:48

Title: ShowGPS
Post by: DucusSumus on 19 May 2007, 09:08:48
It seems that ShowGPS doesn't work in ArmA.  For example, I want to make a mission where th player doesn't have GPS, but the player is a SF guy so by default, he has GPS.  I've tried both ShowGPS false in an init field and ShowGPS = 0 in description.ext, but neither seems to work.  Likewise, when I try and give a regular soldier GPS with ShowGPS true, it doesn't work.  Am I missing something or has it really stopped functioning?
Title: Re: ShowGPS
Post by: h- on 19 May 2007, 10:01:17
The command works just fine, but only when you're viewing the map!  :blink:
Happens even in the latest 1.07.5157 beta patch..

The command syntax is showGPs false/true so showGPS = 0 does not work, obviously.
So, I tried putting showGPS = false in the description.ext, then in the init.sqs I tried showGPS false and no go..

I then put showGPS false in a radio trigger, activated it and nothing happend.
Did this same thing while viewing the map and the GPS device disappeared....
Title: Re: ShowGPS
Post by: DucusSumus on 20 May 2007, 21:42:51
That's strange.  Is there any easy way to detect if the player is viewing the map?