xAnaMorphine
Active Member
- Reaction score
- 43
Hello everyone,
I have a problem concerning a simple buff comparison and unit group function.
The debug message shows that there are 0 units in the unit group.
Any solution?
My trigger look like these:
I have a problem concerning a simple buff comparison and unit group function.
The debug message shows that there are 0 units in the unit group.
Any solution?
My trigger look like these:
Trigger:
- Ice Cold
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Ice Cold (Archmage - Skill)
- Actions
- Set IceColdLoc = (Target point of ability being cast)
- Set IceColdDegree = 0.00
- For each (Integer A) from 1 to 60, do (Actions)
- Loop - Actions
- Destructible - Create a Ice Cold (Pathing Blocker) at (IceColdLoc offset by 400.00 towards IceColdDegree degrees) facing (Random angle) with scale 1.00 and variation 0
- Set IceColdDegree = (IceColdDegree + (360.00 / (Real((Integer A)))))
- Loop - Actions
- Game - Display to (All players) the text: (Number of Units in IceColdTarget: + (String((Number of units in IceColdTarget))))
- Unit Group - Pick every unit in (Units within 800.00 of IceColdLoc) and do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((Picked unit) has buff Ice Cold ) Equal to True
- Then - Actions
- Unit Group - Add (Picked unit) to IceColdTarget
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- Game - Display to (All players) the text: (Number of Units in IceColdTarget: + (String((Number of units in IceColdTarget))))
- Countdown Timer - Start IceColdTimer as a One-shot timer that will expire in 3.00 seconds
- Events