OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: ZNorQ on 18 Jun 2004, 16:47:51

Title: GPS FOR ONLY A FEW PEOPLE
Post by: ZNorQ on 18 Jun 2004, 16:47:51
Is it possible to give the GPS for only a few people in multiplayer games?
I know about the description.ext where you set up if you want the GPS or not. I also know about showGps, but I can't make that command work. If I use "showGPS =  1" (without the quotes ofcourse) in my description.ext, I get the GPS, but if I try using some sort of a filter for different players using showGPS false - that doesn't work. Here's an example;

DESCRIPTION.EXT;
Code: [Select]
showGPS =  1
A TRIGGER IN MY MISSION;
Activationfield;
Code: [Select]
player == aP2Executionfield;
Code: [Select]
showGps false
There are 2 players - aP1 and aP2. If you are player aP2 - you don't get GPS.

Any ideas what I'm doing wrong?

ZNorQ

Title: Re:GPS FOR ONLY A FEW PEOPLE
Post by: ZNorQ on 18 Jun 2004, 16:53:01
Argh! All of a sudden it works! Sometimes I just don't get ofp...  >:( Sorry for bathering you ppl!

ZNorQ