OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: HailStorm on 10 May 2011, 04:42:30

Title: Removing GPS recievers from vehicles
Post by: HailStorm on 10 May 2011, 04:42:30
At first I thought you would be able to remove a GPS unit from a vehicle in the same manner you could remove one from an infantry unit, but it seems the code "this removeweapon "ItemGPS"" doesn't seem to work for vehicles.

Is there any other way to remove the gps from a vehicle, or, failing that, is there a way to block out the screen of a gps unit with a black screen and the words "no signal" in a similar way to the radar blocker from arma1?
Title: Re: Removing GPS recievers from vehicles
Post by: Wolfrug on 10 May 2011, 09:26:32
GPSes in vehicles is, I believe, defined in their config rather than as an item, so I'm guessing there's no real way or removing it barring a config change.

That said, perhaps you could try showGPS false while inside a vehicle? With a bit of luck that command is more 'universal' than just removing the item. Other than that, yes - some kind of black screen and such might be implementable, but try the above command first.

Wolfrug out.