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

Count Building/Units and add gold

Status
Not open for further replies.
Level 5
Joined
Aug 23, 2008
Messages
116
Hello,

How do I create a script that checks the number of units from a player and gives him gold?

E.g

1 Gold for every Soldier

The player has 5 Soldiers, so he gets 5 Gold every 20 seconds.


THX Cyrax
 
Status
Not open for further replies.
Top