• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Gold by killing Creep

Status
Not open for further replies.

hdm

hdm

Level 9
Joined
Nov 19, 2011
Messages
384
How can i make gold awarded by killing creep ?I made Creep spaw/respaw for players 5 and 10(they are controlled by Computer) and I made something like "Add 50(example) Gold For Owner of killer",but I want to make it like killing creeps in DotA...Random Gold Awarded and an effect.

And,BTW,I want make it appear that number of the amount of gold awarded,in yellow.(I'm really new with this World Editor)
 
Level 26
Joined
Aug 18, 2009
Messages
4,097
You can enable the standard bounty drop for a player other than neutral hostile with trigger action Player - Turn Player Flag On/Off. Units will then drop according to their object editor data (Values - Granted Bounty - Base/Dices Amount/Sides per Dice, maybe it's named a bit other though, do not possess English language version). The bounty awarded will be base + dices amount * random number between 1 and sides per dice, rolling a new number for each dice. This means, that min value is base + dices amount and max value base + dices amount * sides per dice.
 
Status
Not open for further replies.
Top