- Joined
- Aug 19, 2007
- Messages
- 294
if i build a thing...i will get 100 gold per sec...if then die i dont get it animore...if i build this aggain i will get 100 gold per sek. WHO DID I DO THAT?
Make a Gold Tower give for each player
And add
A unit comparition to check witch player the building belongs when you turn on and off the gold tower giver trigger
hm... so
I butil a tower and i get 100 gold per second
the tower is destroyed and i stop getting gold
easy, you are using 3 triggers
For Refrence # is Number
$ is a string(text)
Make Gold Tower Give off by uncheing the initially on check box
Gold Tower Give
Events
Time - Every #NumberForTime# seconds of game time
Conditions
Actions
Player - Add #Some Gold# to $Some Player$ Current gold
Then add
this and
Turn On Gold
Events
Unit - A unit Finishes construction
Conditions
(Unit-type of (Triggering unit)) Equal to $some unit$
Actions
Trigger - Turn on Gold Tower Give <gen>
this
Turn On Gold
Events
Unit - A unit Finishes construction
Conditions
(Unit-type of (Triggering unit)) Equal to $some unit$
Actions
Trigger - Turn on Gold Tower Give <gen>
(i want rep)
and dude get firefox
One of those should be:
and yes would work for all.
Turn Off Gold
Events
Unit - A unit dies
Conditions
(Unit-type of (Triggering unit)) Equal to $some unit$
Actions
Trigger - Turn off Gold Tower Give <gen>
yes now it work but what shall i do so it shall works for all players?