- Joined
- Aug 8, 2010
- Messages
- 1,022
Hi! I want to ask why my trigger doesn't work - the first trigg (the 'Instincts' trigg) is just perfect, but the second trigger isn't working... triggs below:
-
Instincts
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Instincts [Bear]
-
Actions
- Set DaBearInstincts = (Triggering unit)
- Unit - Create 1 Dm b l1 for (Owner of DaBearInstincts) at (Position of DaBearInstincts) facing Default building facing degrees
- Set DaDummyInstincts = (Last created unit)
- Set LevOfInstincts = (Level of Instincts [Bear] for DaBearInstincts)
- Unit - Add a 1.00 second Generic expiration timer to DaDummyInstincts
- Unit - Add Inner Fire lvl1 to DaDummyInstincts
- Unit - Set level of Inner Fire lvl1 for DaDummyInstincts to (Level of Instincts [Bear] for DaBearInstincts)
- Unit - Order DaDummyInstincts to Human Priest - Inner Fire DaBearInstincts
- Unit - Set DaBearInstincts movement speed to ((Current movement speed of DaBearInstincts) + (14.58 x (Real(LevOfInstincts))))
- Trigger - Turn on Instincts loop <gen>
-
Events
-
Instincts loop
-
Events
- Time - Every 1.00 seconds of game time
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (DaBearInstincts has buff Instincts ) Equal to True
- Then - Actions
-
Else - Actions
- Unit - Set DaBearInstincts movement speed to ((Current movement speed of DaBearInstincts) - (14.58 x (Real(LevOfInstincts))))
- Trigger - Turn off (This trigger)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
Last edited: