- Joined
- Mar 18, 2009
- Messages
- 788
Hi
I'm making a spell that will use Unit groups and was wondering if it leaks. It will use 2 triggers and has different events.
First we have:
[trigger=Example 1]Example 1
Events
Unit - A unit Starts the effect of an ability
Conditions
Actions
Unit Group - Add (Triggering unit) to ExampleGroup[/trigger]
Then:
[trigger=Example 2]Example 2
Events
Time - Every 0.03 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in ExampleGroup and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Then - Actions
Else - Actions
Unit Group - Remove (Picked unit) from ExampleGroup[/trigger]
These are just plain examples of the spell and I don't know if they will leak or something. Thanks!
I'm making a spell that will use Unit groups and was wondering if it leaks. It will use 2 triggers and has different events.
First we have:
[trigger=Example 1]Example 1
Events
Unit - A unit Starts the effect of an ability
Conditions
Actions
Unit Group - Add (Triggering unit) to ExampleGroup[/trigger]
Then:
[trigger=Example 2]Example 2
Events
Time - Every 0.03 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in ExampleGroup and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Then - Actions
Else - Actions
Unit Group - Remove (Picked unit) from ExampleGroup[/trigger]
These are just plain examples of the spell and I don't know if they will leak or something. Thanks!