I have a GUI problem.
I've simplified it down a bit but this is it:
I've simplified it down a bit but this is it:
- Events
- Unit - A unit starts the effect of an ability
- Conditions
- (Ability being cast) Equal to (My Spell)
- Actions
- Set Position[1] = (Position of (Triggering unit))
- Set Position[2] = (Position[1] offset by 100 towards (facing of (Triggering unit)) degrees)
- Set Enemies[1] = Units within 80.00 of Position[2] Matching unit belongs to an enemy equal true (simplified of what I have)
- Unit group - Pick every unit in Enemies[1] and do actions
- Loop - Actions
- If (all conditions are true) then do (then Actions) else do (Else Actions)
- If - Conditions
- ((Picked unit) is alive) Equal to true
- Then - Actions
- Unit cause (Triggering Unit to deal Damage to Picked unit)
- Unit - Pause (Picked Unit)
- Wait ## Game time seconds
- Unit - Unpause (picked unit)
- Else - Actions
- Do nothing