Trigger help

J

jeevo

Im making a map and need help:D
Its a trigger im trying to do.
when you build a Building in the region you are suppos to get gold for you and 2 other players, and have units spawn. the probelm is when im trying to make the condition.
Dont have TFT

whant it to be like

A building(outpost) in region owned by player red,

Translate:D
 

Garthrs

Member!
Joined
Aug 3, 2003
Messages
130
Reaction score
0
Location
Usually buried at work
Website
Visit site
Facts:
MoneyLevel1Buildings[(Player number of (Owner of (Triggering unit)))] is actually an array variable integer.

Setup the funds

Events

Unit - A unit Finishes construction

Conditions

(Unit-type of (Triggering unit)) Equal to Town Hall

Actions

Set MoneyLevel1Buildings[(Player number of (Owner of (Triggering unit)))] = (MoneyLevel1Buildings[(Player number of (Owner of (Triggering unit)))] + 1)

Also set up this:

Funds

Events

Time - Every 2.00 seconds of game time

Conditions

None

Actions

Player Group - Pick every player in (All players) and do (Player - Set (Picked player) Current gold to (((Picked player) Current gold) + MoneyLevel1Buildings[(Player number of (Picked player))]))


Got it?
 

New threads

Top