Simple income trigger

Introduction
I'm still a complete noob so, please comment this triggering [GUI] tutorial sorry i got no images:con:



Requirements

-Only basic triggering knowledge

Triggering


It's time to start triggering

You must create a building(like storage house something like that).

Then edit the description of the building to income _ gold and _ lumber.

Then start triggering with like this
(NOTE: The building is your 1st building, so, do not make different building in the 3 parts of this triggering.

Income

Events
->>A unit Finishes construction
->>Time - Every _.__ Second of game time
Conditions
->>(Unit Type of (Constructed structure)) Equal to The building
Actions
->>Player - Add _ to (Triggering player) current gold/lumber

And next you must create a trigger to stop , IF the building is destroyed, here it is

Destroyed

Events
->>A unit Dies
Conditions
->>(Unit Type of (Dying Unit)) Equal to The Building
Actions
->>Turn off Income


Okay, now the "Income" trigger will turn off if the building is destroyed, and the third part will be the activator again.

Income Activator

Events
->>A unit Finishes construction
Conditions
->>(Unit Type of (Constructed structure)) Equal to The building
Actions
->>Turn on Income

HOORAAY!!!:grin:

Now your trigger should work, if it has any bugs, please post the bugs and if all of you, find it "not good" please post your comments!
 
Last edited:
You should 1) get rid of your second post, double posting isn't allowed, and 2) don't ask for rep, it is frowned upon, and you may get what you ask for, just not the kind you'd like.
 
Back
Top