• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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