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

How to make an earn gold skill?

Status
Not open for further replies.
Level 15
Joined
Jul 9, 2008
Messages
1,552
I find it the chest of gold,so what to do now?
I need earn like training a footman.

well in that case

Just detect when a unit is finished being trained and add the specific amount of gold to the specific player.

you can use a trigger like

event
unit is finshed being trained
condition
unit is = to your gold unit(a dummy unit
actions
remove trained unit
add x gold to owner of trained unit
 
Status
Not open for further replies.
Top