Jump to content
maihym

How Do You Remove Game Objects?

Recommended Posts

I'm trying to remove these crates inside Altis but I don't know how. I find them very annoying and in the way. Here is a picture for reference http://imgur.com/oJDqV0N

Share this post


Link to post
Share on other sites

Actually you cannot use deleteVehicle on "terrain" (or pre placed map) objects. However you can use hideObject (or hideObjectGlobal) to accomplish this.

Share this post


Link to post
Share on other sites

Actually you cannot use deleteVehicle on "terrain" (or pre placed map) objects. However you can use hideObject (or hideObjectGlobal) to accomplish this.

 

Yep, was actually thinking on this and was trying to remember if it was hideObject/Global or not :P. Updated post above.

Share this post


Link to post
Share on other sites

It may be time to stop using ID's as in the new year they're being removed and won't be returning.

You will need to use nearestobject/s with the object type.

You also won't be able to group map objects to triggers.

Share this post


Link to post
Share on other sites

The object you're looking for is called  "Land_CrabCages_F"

 

https://community.bistudio.com/wiki/File:Arma3_CfgVehicles_Land_CrabCages_F.jpg

 

 

320px-Arma3_CfgVehicles_Land_CrabCages_F

 

 

Place a game logic down on the map near the Crab cages and put this in the init

(position this nearestobject "Land_CrabCages_F") hideObjectGlobal true;

 

Should remove it... but I'm dammed if I can delete it.

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

×