HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Clicks

10-28-2004, 03:30 AM#1
yuripro84
ok, i am making it so clicks are limited, it will be a wierd map that took me 10 min to make, lol, but i dont wanna test it, if i give you gold, and I put
"Events"when reds gold = 0
"Actions"Red Wins
of course, it says it different, but this is putting it easy

when red has 0 gold, will he win?
10-28-2004, 09:49 AM#2
th15
EDIT: Please kill me, I am stupid.
10-28-2004, 09:54 AM#3
xxxSpikexxx
well i guess that the gold of a player are the remaining clicks that a player has, right?

than add the condition players gold <= 0 after you reduced his gold and if its true you just victory him.
10-29-2004, 12:13 AM#4
Guest
Quote:
Originally Posted by th15
There is no event that fires when a player's resource value hits a certain number. However, you could constatntly check the value (write a trigger that checks a player's gold value and call it each time you reduce his gold).

What about this?

Code:
Victory
    Events
        Player - Player 1 (Red)'s Current gold becomes Less than or equal to 0.00
        Player - Player 2 (Blue)'s Current gold becomes Less than or equal to 0.00
        Player - Player 3 (Teal)'s Current gold becomes Less than or equal to 0.00
        Player - Player 4 (Purple)'s Current gold becomes Less than or equal to 0.00
    Conditions
    Actions
        Game - Victory (Triggering player) (Show dialogs, Show scores)