• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] All units give gold

Status
Not open for further replies.
Level 4
Joined
Mar 19, 2008
Messages
89
JASS:
call SetPlayerState(yourplayer, PLAYER_STATE_GIVES_BOUNTY, 1)

Well, I don't know JASS but to set this up, replace yourplayer with "player 1" "player 2" etc. now PLAYER_STATE_GIVES_BOUNTY describes a state of the player, in this case the bounty. The 1 part is binary code for true! therefor setting that players give bounty state to true!
 
Level 6
Joined
Mar 20, 2008
Messages
208
Theres a turn player bounty on Action in the world editor, you can simply pop that into a for loop.
 
Status
Not open for further replies.
Top