I've always had a problem whenever I wanted to make a trigger that gives a bonus of 50 gold to a player when he's current gold becomes 450 (or whatever number you like)
Until today, I thought that there's something wrong with my understanding of how triggers work, that my poor GUI skills are responsible for the game crashes.
But this time, I really am sure there's just nothing wrong with the trigger, so I'm asking you: Is this some kind of bug, or I still suck at triggering?
Here's the trigger:
Until today, I thought that there's something wrong with my understanding of how triggers work, that my poor GUI skills are responsible for the game crashes.
But this time, I really am sure there's just nothing wrong with the trigger, so I'm asking you: Is this some kind of bug, or I still suck at triggering?
Here's the trigger:
-
Gold Bonus on 450 Gold
-
Events
-
Player - Player 1 (Red)'s Current gold becomes Greater than or equal to 450.00
-
Player - Player 2 (Blue)'s Current gold becomes Greater than or equal to 450.00
-
Player - Player 3 (Teal)'s Current gold becomes Greater than or equal to 450.00
-
Player - Player 4 (Purple)'s Current gold becomes Greater than or equal to 450.00
-
Player - Player 5 (Yellow)'s Current gold becomes Greater than or equal to 450.00
-
Player - Player 6 (Orange)'s Current gold becomes Greater than or equal to 450.00
-
Player - Player 7 (Green)'s Current gold becomes Greater than or equal to 450.00
-
Player - Player 8 (Pink)'s Current gold becomes Greater than or equal to 450.00
-
-
Conditions
-
Actions
-
Sound - Play QuestNew <gen>
-
Game - Display to (All players) for 5.00 seconds the text:
-
Game - Display to (All players) for 10.00 seconds the text: ((Name of (Triggering player)) +...
-
-------- -------------------------- --------
-
Player - Add 30 to (Triggering player) Current gold
-
-------- -------------------------- --------
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Triggering player) is in WestGroup) Equal to (==) True
-
-
Then - Actions
-
Player Group - Pick every player in WestGroup and do (Actions)
-
Loop - Actions
-
Player - Add 20 to (Picked player) Current gold
-
-
-
-
Else - Actions
-
Player Group - Pick every player in EstGroup and do (Actions)
-
Loop - Actions
-
Player - Add 20 to (Picked player) Current gold
-
-
-
-
-
-
-------- -------------------------- --------
-
Custom script: call DestroyTrigger(GetTriggeringTrigger())
-
-