OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Silver Fox on 08 Jan 2003, 15:18:52

Title: Can you delete units?
Post by: Silver Fox on 08 Jan 2003, 15:18:52
Now then guys. I have read in certain places that you can delete units etc to reduce the dreaded LAG  :'(.

So if any of you OFP gods know how i can get units to just disapear :o. Or even appear then please tell me how. I know what im doing so if it is advanced dont worry  :P!

Cheers Guys  :cheers:
Title: Re:Can you delete units?
Post by: Tomb on 08 Jan 2003, 15:56:42
not only units, also (most) objects  8) ;)


Say, ya put a trigger over the whole southern end of some island map.  :o

And you & yer troopers are supposed to march towards the north..... then after you've
outbattled the enemy in the south & are now moving on to the north,
you can simply fire a trigger with THIS very simple spell :


"DeleteVehicle _x" Foreach ThisList

So, everything custom-added to the map will vanish!  8)
Title: Re:Can you delete units?
Post by: Silver Fox on 08 Jan 2003, 16:04:49
You know what Tomb?

Your the daddy 8)

Cheers Matey

 :cheers: :cheers: :cheers: :cheers: :cheers: :cheers: