• 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.

How to: Creep die and get money?

Status
Not open for further replies.
Level 3
Joined
Dec 7, 2008
Messages
24
hi all...
what setting is it in the unit options when my hero kill a unit it give me 1000 gold?
 
Level 18
Joined
Aug 13, 2007
Messages
1,584
  • Gold
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Killing unit) Equal to Your Hero
    • Actions
      • Player - Add 1000 Gold to (Owner of (Killing unit))
This is for a specific hero (you have placed him in the world editor). The condition is found under Unit Comparison.

If you want it to be for any hero, use

  • Conditions
    • Killing unit Is a Hero Equal to True
 
Level 14
Joined
Nov 4, 2006
Messages
1,241
its the 3 values above the goldcost of a unit, its a dice system which works like the attackdamage calculation, so if you want 1000 gold, set the first value to 999 and the others to 1, and, if your creep owner is not neutral hostile have to turn on bounty for this player, using this action:

  • Player - Turn give bounty on for <your Player>
 
Status
Not open for further replies.
Top