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

Drops money

Status
Not open for further replies.
Level 17
Joined
Nov 13, 2006
Messages
1,814
check my template :p
u can make it more nasty, just change gold item ability gold giving properties to 0 then make a trigger when a neutral hostile unit (=creep) die then make in his position a gold item and set then gold item custom value to something like (randominteger(mob level*2,mob level*3)) then make a trigger where the event is unit pick up a item and condition is the the acquired item is gold item type then check the item custom value in action and add same gold to trigger player how much was the item custom value and make floating text there :p

basically this:
  • Untitled Trigger 001
    • Events
      • Unit - A unit owned by Neutral Hostile Dies
    • Conditions
    • Actions
      • Set point = (Position of (Dying unit))
      • Item - Create Gold Coins at point
      • Item - Set the custom value of (Last created item) to (Random integer number between (Level of (Dying unit)) and ((Level of (Dying unit)) x 5))
      • Custom script: RemoveLocation(udg_point)
  • Untitled Trigger 002
    • Events
      • Unit - A unit Acquires an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Gold Coins
    • Actions
      • Player - Add (Custom value of (Item being manipulated)) to (Triggering player) Current gold
      • -------- here create floating text etc --------
 

Kusanagi Kuro

Hosted Project: SC
Level 10
Joined
Mar 11, 2012
Messages
708
shadowvzs: Does it need to be complicated like that? Since the money get from killing can easily be done with turn on flag system. If he wants a specific type of unit give money, then ur solution is good.
 
Level 17
Joined
Nov 13, 2006
Messages
1,814
shadowvzs: Does it need to be complicated like that? Since the money get from killing can easily be done with turn on flag system. If he wants a specific type of unit give money, then ur solution is good.

problem is that the bounty is static during gameplay until with my solution u can change how u want also u can make it random+look better if u do it with items coz more realistic then getting gold floating text from dunno where :p

this is really maybe 2 min and u done and far more customizable :p
 
Level 13
Joined
Jun 3, 2011
Messages
1,058
I got an error how to fix this?
206543-albums5871-picture62122.png
 
Status
Not open for further replies.
Top