Jump to content

Recommended Posts

Okay so I'm currently working on a Vietnam Zeus mission.

The players do have a GPS in their inventory (yeah i know its not time accurate but its to not get lost).

I'm currently building some "underground" tunnels which are located on a dirt strip airfield. I don't want the players to know that they are on the airfield, thus i want to remove their GPS globally when they enter the tunnels via teleporter.

I just can't find anything on if or how that works. Not even the config name of the gps so i can do a removeItem script.

If someone already did that or knows how to do it, I'll be very thankful for any type of help. THY

Share this post


Link to post
Share on other sites

Place a repeatable trigger (for everyone) covering the area you don't want GPS/UAV terminal (any mods/DLCs)

 

In condition field:
 

player inArea thisTrigger

 

In on activation field:

player setVariable ["GPS",player getSlotItemName 612]; player unlinkItem (player getVariable ["GPS",""]);

 

In on deactivation field:

player linkItem (player getVariable ["GPS",""]);

 

  • Thanks 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×