HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

revive trigger

09-20-2003, 09:16 PM#1
truearkx
i need the triggers for if the person dies he need 700 gold to be revived how do that lol
09-21-2003, 12:04 PM#2
Krakou
Is that what you nead?
Code:
revive
    Events
        Unit - A unit owned by Player 1 (Red) Dies
    Conditions
        (Triggering Unit) Equal to YourHero
    Actions
        If ((Player 1 (Red) Current gold) Greater than or equal to 700) then do (Hero - Instantly revive (Triggering unit) at (Center of (Playable map area)), Show revival graphics) else do (Game - Display to Player Group - Player 1 (Red) for 10.00 seconds the text: You need 700 gold to revive your hero.)