• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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