Staredit Network

Staredit Network -> UMS Assistance -> AI problems
Report, edit, etc...Posted by DoomPenguin on 2005-11-19 at 14:23:58
Yeah, so i'm working on a zombie survival map. I'm still trying to work out some problems with the two computers.

Here's how it should work:

Map starts off with pre-placed 'human rebel' civs, rines, and ghosts, that randomly junkyardog around [WORKS]

25 zealot 'zombies' and a few lings spawn in three different places and go off on random suicide missions [WORKS]

Every 15 seconds, more 'zombies' pop up and go off on suicide missions [DOESN'T WORK, zealots just sit at their spawn location]

Every 60 seconds, more 'human rebels' spawn up and walk off randomly [WORKS, KINDOF]


Now I have no idea what's going on. When the 15 second spawn of the zombies goes off, I have it run the random suicides script again. But, they just sit there.

I've been having problems with this all day. I keep changing things around, but the problem just gets worse. I can send somebody the map file if they want to take a look. AIM: UnclawedLobster


Kudos,
Penguin.
Report, edit, etc...Posted by Rainor on 2005-11-19 at 19:18:23
QUOTE(DoomPenguin @ Nov 19 2005, 01:23 PM)
Every 15 seconds, more 'zombies' pop up and go off on suicide missions [DOESN'T WORK, zealots just sit at their spawn location]
[right][snapback]359287[/snapback][/right]

Well you can make the zealots make an attack move.To do so make the following trigger:
Trigger
Description:
Attack move.
Players:
¤ Your Player.
Conditions:
¤ Here you can do two things read the entire post to now.
Actions:
¤ Wait 1500 milliseconds
¤ .Make all "zombies" on *location* of *select player* attack *location*.
¤ Preserve Trigger

You can make the conditions this way:
Making a switch or make the condition be *the player* brings *at least* *# units*
to *location*.
Hope that help biggrin.gif .


NOTE:I am saying this from my head so not be 100% shure this will work.
NOTE2:I think that you need Hyper Triggers for this.
Report, edit, etc...Posted by slayer766 on 2005-11-19 at 20:41:58
Or you could just have a seperate trigger for the zombies at each location, and the trigger to always send them on suicide missions:

QUOTE
Players:
¤ Your Player.
Conditions:
¤ Computer player brings at least 1 men to spawning location
Actions:
¤ Run AI script send all units on Random Suicide Missions

¤ Preserve Trigger
Next Page (1)