• 🏆 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!

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 13
Joined
Nov 4, 2006
Messages
1,239
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