- Joined
- Dec 12, 2010
- Messages
- 280
This is a working revive trigger for the AI heroes I'm currently using on my map. My question is simple. Does this trigger leak. If so how would you fix it? Keep in mind also that this trigger is used by 4 different AI heroes.
-
Revive Ai
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
((Triggering unit) is in Ai_Units) Equal to True
-
((Triggering unit) is Summoned) Equal to False
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Number of items carried by (Triggering unit)) Greater than 5
-
-
Then - Actions
-
Hero - Drop (Item carried by (Triggering unit) in slot (Random integer number between 1 and 6)) from (Triggering unit)
-
-
Else - Actions
-
-
Wait 20.00 seconds
-
Hero - Instantly revive (Dying unit) at ((Owner of (Dying unit)) start location), Show revival graphics
-
-