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

making creeps drop gold...

Status
Not open for further replies.
Level 2
Joined
Apr 5, 2008
Messages
8
hey all, im currently working a TD and i have set the creeps that spawn to player 12.
they dont give any gold when killed, i have mucked around with the gold drop and everything and cant find a solution.

any suggestions would be greatly appreciated

cheers all
 
Level 7
Joined
Feb 6, 2008
Messages
133
maybe this is not the best solution but .. go to triggers and do this..

  • Killing Rewards
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Dying unit)) Equal to WHATEVER
    • Actions
      • Player - Add 1 to (Owner of (Killing unit)) Current gold
or if u want all the creeps to drop the same amount u could try this

  • Killing Rewards
    • Events
      • Unit - A unit Dies
    • Conditions
    • Actions
      • Player - Add 1 to (Owner of (Killing unit)) Current gold
 
Level 2
Joined
Apr 5, 2008
Messages
8
thanks all

the player flag worked perfectly :D

now i just gotta work out how to make the gold reward for the first few lvls 1 lol
ive made it so 1 is theg old reward, 1 die and 1 sides on die
yet i still get 2 gold :S
 
Status
Not open for further replies.
Top