• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

trigger

Status
Not open for further replies.
Level 3
Joined
Mar 4, 2013
Messages
35
  • Grupo de unidad - Pick every unit in expa9005 and do (Actions)
    • Bucle: Acciones
      • Set spella = (Position of (Picked unit))
      • Set spellaa2 = (spella offset by 60.00 towards angulo2 degrees)
      • Unidad - Move (Picked unit) instantly to spellaa2
      • Custom script: call RemoveLocation(udg_spella)
      • Custom script: call RemoveLocation(udg_spellaa2)
      • Unidad - Cause Caster9005 to damage (Picked unit), dealing (0.65 x (Real((Inteligencia of Caster9005 (Excluir bonuses))))) damage of attack type Caos and damage type Magia
      • Custom script: call DestroyGroup(udg_expa9005)
is there anything wrong with remove location and destroy group being inside the loop? should i put them outside? can someone explain why that would be better?
 
Status
Not open for further replies.
Top