OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: klavan on 06 Aug 2005, 15:35:31

Title: Show/hide GPS
Post by: klavan on 06 Aug 2005, 15:35:31
Is it possible to do that ingame?
I'm aware of the ShowGPS command, but if i'm not wrong you can define it only in the description, while the ShownGPS shoul be useful only to check if the GPS is enabled or not.
Since the GPS is a sort of dialog thare's a way to open/close it?
Thanks
Klavan
Title: Re:Show/hide GPS
Post by: Tyger on 17 Aug 2005, 15:45:36
Test it.  ;)
Title: Re:Show/hide GPS
Post by: Tomb on 17 Aug 2005, 16:56:58
(if im not drunk, then I'm sober...i wouldn't know but someone prolly will) the gps can only be handled in the ext file, not via, say a trigger. but what ya CAN do is rob a bank and buy yerself loads of women and stuff... pretty dang cool if ye ask me :thumbsup:
Title: Re:Show/hide GPS
Post by: Blanco on 17 Aug 2005, 18:07:56
I'm pretty sure Showmap false (or true) will work during your mission, cos I already tried that before in one of my own.
You were an artillery observer in the trenches and you had to click the map to execute a firemission,
The map was only visible when were close to a table with map.

On top of that table, a small (repeatable) rectangle trigger
Code: [Select]
Activation : Your side, in my case it was WEST
condition : player in thislist
onactivation : showmap true
On deactivation : showmap false

Once you enter the triggerarea your map become visible and when you leave the area, the map disappeared again

Now I'm sure you can do the same thing with ShowGPS, ShowWatch,ShowCompas,ShowRadio or ShowPad

Simply put ShowGPS true in a trigger, script,...whatever

Title: Re:Show/hide GPS
Post by: 456820 on 17 Aug 2005, 20:02:33
same here im pretty sure it is a command used in scripts for example intros when you force map true usually theres the radio and everything in the way use show*** = true or whatever
anyway have a go at it
Title: Re:Show/hide GPS
Post by: Tomb on 18 Aug 2005, 22:11:08
 ::) don't be "sure" or even "pretty sure", boys. KNOW! TRY! GAIN WISDOM! ARISE!!!  :o ( ;D ) true tho
Title: Re:Show/hide GPS
Post by: macguba on 19 Aug 2005, 00:30:25
In English, as a rule:-

I'm pretty sure = I don't know
I'm sure = I'm not sure
I'm absolutely sure = I'm hopelessly wrong
Title: Re:Show/hide GPS
Post by: Planck on 19 Aug 2005, 00:40:58
I'm positive = I'm holding the red terminal of my car battery.


Edit:
As a punishment for an off-topic post Planck is being sent to bed early with no porridge.



Planck
Title: Re:Show/hide GPS
Post by: Tomb on 19 Aug 2005, 21:42:02
 ;D ROFLMAO, now that wuz frikkin awesome guys!!

an nevermind givin me a 3 days spam ban, im so drunk i wont be online till next week someday! ::)



( :thumbsup: )
Title: Re:Show/hide GPS
Post by: macguba on 19 Aug 2005, 22:35:14
Quote
As a punishment for an off-topic post Planck is being sent to bed early with no porridge.

 ???  I thought that was your idea of a good time?  :P

Ah-hem.  Anyway, klavan, did that solve your problem?   Can you click the old solve button?