- Joined
- May 2, 2007
- Messages
- 141
Ok, I am having some problems with my triggers, and because I am still somewhat of a noob to triggers... I need to ask for your help.
This trigger works fine, does what it is supposed to do and everything:
Any suggestions?
Also I need help with this too:
Maybe I remove it upon reviving?
This trigger works fine, does what it is supposed to do and everything:
-
Add Mangekyo Sharingan
-

Events
-


Unit - A unit Is issued an order with no target
-
-

Conditions
-


(Unit-type of (Ordered unit)) Equal to Uchiha Itachi (25%)
-


(Issued order) Equal to (Order(immolation))
-
-

Actions
-


Unit - Add Mangekyou Sharingan (Slow Effect) to (Ordered unit)
-


Unit - Set level of Mangekyou Sharingan (Slow Effect) for (Ordered unit) to (Level of Mangekyou Sharingan for (Ordered unit))
-


Unit - Add S DUMMY 1 to (Ordered unit)
-


Trigger - Turn on Remove Mangekyo Sharingan <gen>
-
-
-
Remove Mangekyo Sharingan
-

Events
-


Unit - A unit Is issued an order with no target
-
-

Conditions
-


(Unit-type of (Ordered unit)) Equal to Uchiha Itachi (25%)
-


(Issued order) Equal to (Order(unimmolation))
-
-

Actions
-


Unit - Remove Mangekyou Sharingan (Slow Effect) from (Ordered unit)
-


Unit - Remove S DUMMY 1 from (Ordered unit)
-


Trigger - Turn off (This trigger)
-
-
Any suggestions?
Also I need help with this too:
-
Kyubi
-

Events
-


Unit - A unit Starts the effect of an ability
-
-

Conditions
-


Or - Any (Conditions) are true
-



Conditions
-




(Ability being cast) Equal to One Tailed Kyubi Mode
-




(Ability being cast) Equal to Deactivate One Tailed Kyubi Mode
-
-
-
-

Actions
-


Set Hp_Drain_2[(Player number of (Owner of (Casting unit)))] = (Casting unit)
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




(Percentage life of (Triggering unit)) Less than or equal to 25.00
-




(Ability being cast) Equal to One Tailed Kyubi Mode
-
-



Then - Actions
-




Hero - Modify Strength of (Triggering unit): Set to ((Strength of (Triggering unit) (Exclude bonuses)) x 2)
-




Hero - Modify Agility of (Triggering unit): Set to ((Agility of (Triggering unit) (Exclude bonuses)) x 2)
-




Hero - Modify Intelligence of (Triggering unit): Set to ((Intelligence of (Triggering unit) (Exclude bonuses)) x 2)
-




Unit - Add Deactivate One Tailed Kyubi Mode to (Triggering unit)
-




Unit - Add Akai Chakra (chakra regeneration0 to (Triggering unit)
-




Unit - Add Kyubi Chakra Attack to (Triggering unit)
-




Unit - Remove One Tailed Kyubi Mode from (Triggering unit)
-




Unit - Set the custom value of Hp_Drain_2[(Player number of (Owner of (Triggering unit)))] to 1
-




Unit - Create 1 Kyuibi Giver for (Owner of (Triggering unit)) at (Position of Hp_Drain_2[(Player number of (Owner of (Triggering unit)))]) facing Default building facing (270.0) degrees
-




Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
-




Unit - Order (Last created unit) to Orc Shaman - Bloodlust Hp_Drain_2[(Player number of (Owner of (Triggering unit)))]
-




Set Level_Integer[(Player number of (Owner of (Triggering unit)))] = (Hero level of (Triggering unit))
-




Skip remaining actions
-
-



Else - Actions
-
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




(Ability being cast) Equal to Deactivate One Tailed Kyubi Mode
-
-



Then - Actions
-




Hero - Modify Strength of (Triggering unit): Set to ((Strength of (Triggering unit) (Exclude bonuses)) / 2)
-




Hero - Modify Agility of (Triggering unit): Set to ((Agility of (Triggering unit) (Exclude bonuses)) / 2)
-




Hero - Modify Intelligence of (Triggering unit): Set to ((Intelligence of (Triggering unit) (Exclude bonuses)) / 2)
-




Unit - Remove Deactivate One Tailed Kyubi Mode from (Triggering unit)
-




Unit - Add One Tailed Kyubi Mode to (Triggering unit)
-




Unit - Remove Akai Chakra (chakra regeneration0 from (Triggering unit)
-




Unit - Remove Kyubi Chakra Attack from (Triggering unit)
-




Unit - Set the custom value of Hp_Drain_2[(Player number of (Owner of (Triggering unit)))] to 0
-




Unit - Remove Kyuibi Chakra buff from (Triggering unit)
-




Skip remaining actions
-
-



Else - Actions
-
-
-
-
Remove Kyubi on Death
-

Events
-


Unit - A unit Dies
-
-

Conditions
-


((Dying unit) is A Hero) Equal to True
-
-

Actions
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




((Triggering unit) has buff Kyuibi Chakra ) Equal to True
-




(Unit-type of (Dying unit)) Equal to Uzimaki Naruto (25%)
-
-



Then - Actions
-




Hero - Modify Strength of (Triggering unit): Set to ((Strength of (Triggering unit) (Exclude bonuses)) / 2)
-




Hero - Modify Agility of (Triggering unit): Set to ((Agility of (Triggering unit) (Exclude bonuses)) / 2)
-




Hero - Modify Intelligence of (Triggering unit): Set to ((Intelligence of (Triggering unit) (Exclude bonuses)) / 2)
-




Unit - Remove Deactivate One Tailed Kyubi Mode from (Triggering unit)
-




Unit - Add One Tailed Kyubi Mode to (Triggering unit)
-




Unit - Remove Akai Chakra (chakra regeneration0 from (Triggering unit)
-




Unit - Remove Kyubi Chakra Attack from (Triggering unit)
-




Unit - Set the custom value of Hp_Drain_2[(Player number of (Owner of (Triggering unit)))] to 0
-




Unit - Remove Kyuibi Chakra buff from (Triggering unit)
-




Skip remaining actions
-
-



Else - Actions
-
-
-
Maybe I remove it upon reviving?
Last edited:




nono you misunderstood me. The thing i put is an action. You dynamically add an event to a trigger. The normal event one has to be based on an actual unit on the map currently. But with this, you add the event pointing to this unit when it does exist. The action is under triggers - add action to trigger.
.....)