Jump to content
Sign in to follow this  
CaptainCrunch

Deleting in game map objects

Recommended Posts

Im 'trying' to create an ace insurgency mission, and im being ambitions for my first project, but i just wanted to extend the fallujah fob and found some code to delete one ingame large bag wall but i cant seem to figure it out to delete the rest of the wall and the objects infornt of it, is there a specific code for each item and if so where are they?

This is the code i used to delete the first wall - (getPos this nearestObject 5343) setDamage 1; (getPos this nearestObject 5345) setDamage 1;

I also have that game logic synchronised to this - nul = [] execVM "Pcf.sqf";

This is the main stuff i want to delete including the toilets behind the big bags http://imgur.com/WSM1EE6

Share this post


Link to post
Share on other sites

Place a box on the map and name it box1

In the On Act field of a trigger; or in a script; write this:

deletevehicle box1;

If you wish to delete any object, it must first be named.

.

Share this post


Link to post
Share on other sites

In the editor pres the button that says "IDs" it will show IDs of the map objects.

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
Sign in to follow this  

×