Creeps AI

Volte

Member!
Joined
Jul 4, 2003
Messages
23
Reaction score
0
Website
Visit site
Hey there.

I have a question that although sounding simple, may not be. At anyrate, I would like to know, if and how to make creeps within the game attack each other. For instance:

Creep 1 wanders about and is losing health (hasn't eaten), Creep 1 spots Creep 2 (a food source) and attacks it (Regains some health, which i can do), and after a certain point, after killing and stuff, it evolves.

Now comes along Creep 3, and this is a big bugger, and hungry too!. Creep 3 spots Creep 1, and is like... Yum, strolls up to Creep 1, and they fight, but Creep 1 is doomed because its not as strong, so it dies, and Creep 3 (may or may not evolve).

Regardless, Creep 1 is sent back a stage in its evolution, and re-spawns some where else.

I would like to do this on a large scale, where I don't create a trigger for each creep, because i want it to be dynamic. Any suggestions?

(I am just not very familiar with WWE)

Thanks a lot people! :D

Peace Out.
 

Volte

Member!
Joined
Jul 4, 2003
Messages
23
Reaction score
0
Website
Visit site
So I have this trigger, that reduces the health of a Predator over time, in another trigger, i have it checking for when the health of a Predator goes below 80. Now, This is what i have, and for some reason, its not working.

Unit Group - Pick every unit in (Units owned by Neutral Hostile matching ((Life of (Picked unit)) Less than or equal to 80.00)) and do (Unit Group - Order (Last created unit group) to Attack (Random unit from (Units within 500.00 of (Position of (Targeted unit)) matching ((Owner of (Picked unit)) Equal to Neutral Passive))))

Any Ideas?
 

answerson

Member!
Joined
Apr 3, 2004
Messages
32
Reaction score
0
Website
Visit site
dude, i'm not too sure, and i just read these before i had to goto work... but that game sounds very interesting, make sure to set out a demo or soemthing =) i wanna see teh creeps fight each other. ill re-read it and see if i cant get back to you. but if its something to do with variables ( i'm sure it is ) then garths is your man
 

New threads

Top