HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

AI for all of the units on a map

07-10-2002, 10:27 PM#1
Guest
Hi,
I have like 35-40 inferonos on a map and I want them all to attack to another persons start location. I just cannot get them to do it. How do you do this?
07-11-2002, 12:31 AM#2
Guest
I don't have WE open right now but I think you can do this, or something similiar:

pick all units matching infernal in whole map area, and do attack region.
07-11-2002, 05:53 AM#3
Guest
there is no pick all units matching infernal.
07-11-2002, 05:55 AM#4
Guest
Also, I can't find a unit matching infernal thing. It always only has the functions or the select unit. I made a variable but how do I actually use the variable?
07-11-2002, 06:10 AM#5
Guest
This is what I have:
Event- Elapsed time = 3 seconds
Condition- Unit type of matching unit equal to Infernal
Action- Select Matching unit
Order matching unit to patrol to player 3 start location
07-11-2002, 08:59 AM#6
dataangel
Yeah there _is_ a select all units of type infernal, it just isn't under that name. You want the action Unit Group - Pick all units in unit group and do action.

Select that. Then change it from units in region to units in region matching condition. Make the condition unit-type of (matching unit) equals infernal. Then for the action do the attack-move thingy.
07-11-2002, 04:04 PM#7
Guest
One question where is the attack move. Under Issue unit order targeting point or whatever, it only has patrol to and move to.
07-11-2002, 04:35 PM#8
Guest
Here is waht my trigger looks like, (it still doesn't work)
07-11-2002, 05:18 PM#9
Guest
ahhh finally figured this out, it was because I had to have a trigger telling the units to ignore their guard positions. Thats why I couldn't find attack-move too.