Help~ Creep bounty and item

JsK

New Member
Reaction score
0
Need help~

I've made the creeps spawn for my TD and have set their bounty award
but when a player kills it , it doesn't give any gold at all.

And how to make creeps drop item on their death?

Please help , thanks!
 

Dimaspy

New Member
Reaction score
19
The creep itself must be owned by one of the neutral players (black), who are also hostile against you. However, I strongly recommend you to trigger up the bounty system.

To make them drop items upon death, simply see the item itself and check the "Dropped When Carrier Dies". Then simply see the properties for the creep and add the item to the list. If you spawn the creep through triggers, just make another trigger which creates a new item and gives it to the target.
 

Hellohihi

New Member
Reaction score
42
Trigger:
  • Events
    • Map initialization
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 12, do (Actions)
        • Loop - Actions
          • Player - Turn Gives bounty On for (Player((Integer A)))


Trigger:
  • (Random integer number between 1 and 10) Less than or equal to 2

Means that has a 20% chance to drop item.

Trigger:
  • Events
    • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Dying unit)) Equal to Peasant
      • (Random integer number between 1 and 10) Less than or equal to 2
    • Actions
      • Set Temp_Point = (Position of (Dying unit))
      • Item - Create Claws of Attack +15 at Temp_Point
      • Custom script: call RemoveLocation(udg_Temp_Point)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      • Ghan
        Administrator - Servers are fun

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top