Jump to content
Sign in to follow this  
Blitzer134

Delete object after..?

Recommended Posts

im trying to delete a lot of nameless objects/buildings placed via editor after box is destroyed and blufor has left area cant seem to figure it out

Condition of trigger

WEST countside thislist == 0 && !alive box;

On act

{if (side _x == nearestObjects  AND _x in thisList) then {_x setDamage 1};} foreach thisList

thanks

Share this post


Link to post
Share on other sites

See if this helps.

Trigger Blufor not present

cond

this && !alive box;

on act

{ if (([thistrigger ,_x] call  bis_fnc_inTrigger)) then {{deleteVehicle _x} foreach crew _x;deleteVehicle _x} } foreach allMissionObjects ""-[thistrigger]

  • Like 1

Share this post


Link to post
Share on other sites

im using this in my mission and its great, but it makes like half second lag... any one knows why? any other way without lag?

Share this post


Link to post
Share on other sites
im using this in my mission and its great, but it makes like half second lag... any one knows why? any other way without lag?

Well, if you have a lot of nameless objects, thats quite a bit of lines.

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  

×