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

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