Em!
Model Reviewer
- Joined
- Jan 9, 2004
- Messages
- 789
I need a trigger that recognizes the owner of the building generating gold and when it is built.
For instances
-The event
That the Hq finishes construction
-The condition
That the trigger recognizes the owner
-Action
Trigger:New Event
Periodic Event,every X seconds
Add gold to *player matching condition*
and also
The Event
a unit *building* changes owner
the condition that the trigger recognizes which owner
Action
Trigger:New Event
Periodic Event,every X seconds
Add gold to *player matching condition*
and if the building is captured by another the Gold regen stops for x player but begins for y player.
I bet there are variables involved, i am not too shabby with variables
For instances
-The event
That the Hq finishes construction
-The condition
That the trigger recognizes the owner
-Action
Trigger:New Event
Periodic Event,every X seconds
Add gold to *player matching condition*
and also
The Event
a unit *building* changes owner
the condition that the trigger recognizes which owner
Action
Trigger:New Event
Periodic Event,every X seconds
Add gold to *player matching condition*
and if the building is captured by another the Gold regen stops for x player but begins for y player.
I bet there are variables involved, i am not too shabby with variables