HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

a trigger requast

01-10-2004, 05:07 PM#1
truearkx
i need a revive trigger that if u have more then or=1 wood they may revive if they dont have 1 wood you cant revive :////
01-10-2004, 06:53 PM#2
th15
Add an interger comparison checking the amount of lumber that owner of unit to be revived >0 as a condition.
01-10-2004, 09:22 PM#3
LegolasArcher
Events:
Code:
Unit - A unit Dies
Conditions:
Code:
((Dying unit) is A Hero) Equal to True
((Owner of (Dying unit)) Current lumber) Greater than 0
Actions:
Code:
Hero - Instantly revive (Dying unit) at (Position of (Entering unit)), Show revival graphics

You can obviously change where it revives, and remove lumber if needed.