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

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