Jump to content

vallfield

Member
  • Content Count

    5
  • Joined

  • Last visited

  • Medals

Everything posted by vallfield

  1. 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.
  2. It works! Thanks! And now I know how the EH arrays works! Thank you very much!
  3. Hi, I wanted to use in my code something like this: if (damage x > 0) then {//code }; But seems like it doesn't work like that, someone could explain?
  4. 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. :/
×