I'm looking to create a trigger that sets a bounty onto a random player's hero. Furthermore, I would like a text message to be displayed with the player's name in a sentence, (i.e, "PlayerX now has a bounty!"). How should I go about doing this? Would be grateful for any help/ideas.
I just grab the player's name at map startup and assign it to an array of text values, if you have 5 players, make it an array of 5, then just use the player number to call it. Here is me assigning an array value a name, with color.
Create a "Text Message" action. Click on "Message" and go to the function "Combine Text". Click on "Text 1" and set the function to "Name of Player" and choose what player you want. Then, set "Text 2" to "has a bounty".