- Joined
- Jul 18, 2010
- Messages
- 332
Its probably not possible but is it possible to skip the remaining actions from another trigger?
Another question:
What's more efficient? Multiple triggers or just putting all the actions from those triggers into one and just add some conditions?
Here's the other problem:
I have this "tornado" that will move from the top to the bottom of the map periodically. I switched from using periodic events to just ordering the unit to move from point to point cause I think it's better. The problem is that it doesn't move and it just stays in one place.
I've already check if the unit can move and it can. I already checked if I have declared the variables, and I have. I hope you understand the triggers.
Another question:
What's more efficient? Multiple triggers or just putting all the actions from those triggers into one and just add some conditions?
Here's the other problem:
I have this "tornado" that will move from the top to the bottom of the map periodically. I switched from using periodic events to just ordering the unit to move from point to point cause I think it's better. The problem is that it doesn't move and it just stays in one place.
I've already check if the unit can move and it can. I already checked if I have declared the variables, and I have. I hope you understand the triggers.
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- dungeonnumber Equal to 13
-
Then - Actions
- Unit - Create 1 Portal Talin Elfbane for Neutral Hostile at talinportal facing 90.00 degrees
- Animation - Change (Last created unit)'s animation speed to 150.00% of its original speed
- Set portal1 = (Last created unit)
- Animation - Play (Last created unit)'s death animation
- Unit - Create 1 Portal Talin Elfbane for Neutral Hostile at talinportal_Copy_3 facing 270.00 degrees
- Animation - Change (Last created unit)'s animation speed to 150.00% of its original speed
- Set portal2 = (Last created unit)
- Animation - Play (Last created unit)'s death animation
- Unit - Create 1 Portal Talin Elfbane for Neutral Hostile at talinportal_Copy facing 270.00 degrees
- Animation - Change (Last created unit)'s animation speed to 150.00% of its original speed
- Set portal3 = (Last created unit)
- Animation - Play (Last created unit)'s death animation
- Unit - Create 1 Portal Talin Elfbane for Neutral Hostile at talinportal_Copy_2 facing 90.00 degrees
- Animation - Change (Last created unit)'s animation speed to 150.00% of its original speed
- Set portal4 = (Last created unit)
- Animation - Play (Last created unit)'s death animation
- Unit - Create 1 Sand Tornado (Ra Canyon) for Neutral Hostile at talinportal_Copy_3 facing 270.00 degrees
- Set talin = (Last created unit)
- Unit - Add Talin to (Last created unit)
- Unit - Unpause talin
- Unit - Order talin to Right-Click talinportal_Copy_2
- Unit - Order talin to Move To talinportal_Copy_2
- Trigger - Turn on under hammer talin <gen>
- Trigger - Turn on under hammer talin Copy 2 <gen>
- Trigger - Turn on under hammer talin Copy 3 Copy <gen>
- Trigger - Turn on under hammer talin Copy Copy <gen>
- Else - Actions
-
If - Conditions
-
under hammer talin
-
Events
- Unit - A unit enters Region 133 Copy 5 <gen>
-
Conditions
- (Entering unit) Equal to talin
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- dungeonnumber Less than 15
-
Then - Actions
- Animation - Play portal3's death animation
- Animation - Play portal1's birth animation
- Sound - Play TornadoLoop <gen> at 100.00% volume, attached to talin
-
Else - Actions
- Animation - Play portal3's birth animation
- Animation - Play portal1's death animation
- Sound - Play MeatWagonYes1 <gen> at 100.00% volume, attached to talin
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
-
under hammer talin Copy 2
-
Events
- Unit - A unit enters Region 133 Copy <gen>
-
Conditions
- (Entering unit) Equal to talin
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- dungeonnumber Less than 15
-
Then - Actions
- Sound - Play TornadoLoop <gen> at 100.00% volume, attached to talin
- Animation - Play portal4's birth animation
- Animation - Play portal2's death animation
-
Else - Actions
- Animation - Play portal4's death animation
- Animation - Play portal2's birth animation
- Sound - Play MeatWagonYes1 <gen> at 100.00% volume, attached to talin
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
-
under hammer talin Copy 3 Copy
-
Events
- Unit - A unit enters Region 133 Copy 4 <gen>
-
Conditions
- (Entering unit) Equal to talin
-
Actions
- Unit - Unpause talin
- Sound - Play TornadoLoop <gen> at 100.00% volume, attached to talin
- Unit - Move talin instantly to talinportal_Copy_3, facing 270.00 degrees
- Animation - Play portal1's death animation
- Animation - Play portal2's birth animation
- Wait 0.03 seconds
- Unit - Order talin to Move To talinportal_Copy_2
-
Events
-
under hammer talin Copy Copy
-
Events
- Unit - A unit enters Region 133 Copy 3 <gen>
-
Conditions
- (Entering unit) Equal to talin
-
Actions
- Unit - Unpause talin
- Sound - Play TornadoLoop <gen> at 100.00% volume, attached to talin
- Unit - Move talin instantly to talinportal_Copy, facing 270.00 degrees
- Animation - Play portal4's death animation
- Animation - Play portal3's birth animation
- Wait 0.03 seconds
- Unit - Order talin to Move To talinportal
-
Events