So, I'm creating a map where there is a boss encounter. I am having a problem with a GUI line that sets a group variable.
BTW, all this variable naming is to prevent massive leaks, since this actions are repeated like 20 times in this boss fight.
- Set TempGroup[1] = (Units within 300.00 of TempPoint[4] matching ((((Picked unit) belongs to an enemy of Player 12 (Brown)) Equal to True) and ((Owner of (Picked unit)) Not equal to Player 12 (Brown))))
-
Unit Group - Pick every unit in TempGroup[1] and do (Actions)
-
Loop - Actions
- Set TempPoint[5] = (Position of (Picked unit))
- Unit - Cause Blood Elf Mage 0012 <gen> to damage (Picked unit), dealing 100.00 damage of attack type Chaos and damage type Divine
- Special Effect - Create a special effect at TempPoint[5] using Abilities\Spells\Human\Feedback\ArcaneTowerAttack.mdl
- Special Effect - Destroy (Last created special effect)
- Custom script: call RemoveLocation(udg_TempPoint[5])
-
Loop - Actions
BTW, all this variable naming is to prevent massive leaks, since this actions are repeated like 20 times in this boss fight.