Moderator
M
Moderator
13:55, 2nd Jun 2011
Maker: Approved
You could store the unit's handle into an integer variable and then use the variable instead of repeatedly calling Key(Triggering unit) or Key(Picked unit).
You store the triggering unit into a variable, so use the variable instead of calling Triggering unit.
Do this only after you remove a unit from the group, not during every loop:
Maker: Approved
You could store the unit's handle into an integer variable and then use the variable instead of repeatedly calling Key(Triggering unit) or Key(Picked unit).
You store the triggering unit into a variable, so use the variable instead of calling Triggering unit.
Do this only after you remove a unit from the group, not during every loop:
- (Number of units in Skill1_Caster_Group) Equal to 0