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

Is this a trigger or ability??

Status
Not open for further replies.
Level 3
Joined
Aug 18, 2005
Messages
45
It's a very simple trigger to make.

Code:
Events -
   Time - Every (10.00) seconds of game time

Conditions -
   *

Actions -
   Player - Add (Numbers of units of type (Unit) controlled by (Player)) to (Player)'s current gold

The action will add 1 gold to the player every 10 seconds for each one the units of a certain type that player possesses.
 
Level 3
Joined
Aug 18, 2005
Messages
45
The action is located in the "Player" category.

You can add more by choosing "Arithmetic" in the action and adding the number of units to a preset number of your choice.

Am I clear enough? Tell me.
 
Status
Not open for further replies.
Top