Warcraft III resources & community, 2003–2006 · archived

Trigger Help

4 posts
#1

Trigger Help

i need help with a trigger, i want it so that when player 1 red mines 10 gold it takes off 5 and gives player 2 blue 5 gold, same for wood too
#2
This is a divert resource trigger, I just found it while being bored and exploring the editor. Its under players and you can set a percentage of the players resources to siphon off to a specific other player.
#3
A simple trigger can accomplish this.


Gold give
    Events
        Player - Player 1 (Red)'s Current gold becomes Greater than or equal to 10.00
    Conditions
    Actions
        Player - Add -5 to Player 1 (Red) Current gold
        Player - Add 5 to Player 2 (Blue) Current gold
#4
Or my way which is much more effective:
Player - Divert X% of the Gold income of Player 1 (Red) to Player 2 (Blue)
Its nice neat and simple