***simple trigger help***

[e]MOTION

Member!
Joined
Jan 26, 2004
Messages
74
Reaction score
0
Website
Visit site
this is making me crazy :fwink

what i want to do in this trigger is to have a barracks that spawns militia (footman and riflemen and such).. the second action would be to have them walk to another teams barracks.

for some reason, i cant figure it out... later i will also like to know how to create upgrades for this militia, ideas would be nice, thanks guys


you have always been great help
 

x0rcist

Member!
Joined
Feb 26, 2003
Messages
267
Reaction score
0
Website
x0p.cjb.net
Event:

Periodic Event - Every 1 Second

Action:

Create 1 footman at center of <region next to barracks>
Order [last created unit] to [attack]-move to center of <moveto region>

Create another type like this for rifleman maybe a dfferent time, or wutever. Dont change number from 1 to higher, other wise it will not work and you wil have to do it a different way.
 

[e]MOTION

Member!
Joined
Jan 26, 2004
Messages
74
Reaction score
0
Website
Visit site
im sorry, how do you do this?

Order [last created unit] to [attack]-move to center of <moveto region>

this is the part i dont understand
and if i have a group, couldnt i say all units of this color move to this region, or attack to this region?
 

Speaker

Premium Member
Joined
Jun 20, 2003
Messages
2,808
Reaction score
2
Location
Computer
put a barracks wherever you want. Put a region next to the barracks (this is where the units will spawn)

Event- Every 40 Second
Condition- Triggering units is equal to (player red *or w/e player*)
Action -Create 1 footman at center of <region next to barracks>
Order [last created unit] to [attack]-move to center of <moveto region>
 

NewPosts

New threads

Top