• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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