Hi, I wanna delete a group and an heli when a trigger activates, this is my code:
for [{_i=1},{_i < 5},{_i = _i + 1}] do {_unit = units helig select _i; deleteVehicle _unit;} ; deleteVehicle heli1;
It says: error zero divisor.
I wanted to use it on a transmitter tower, to get to blow it up with just one normal charge, the brackets didn't work.
Also tried with a while loop but same result. It seems like it doesn't read it if you use damage x.
I don't really understand how the event handler work. :/