Page 1 of 1

AI Question.....

Posted: Tue Apr 01, 2003 11:33 pm
by Clackinizer
How do i make an allied or axis AI man pace continuesly? :?:

Posted: Tue Apr 01, 2003 11:43 pm
by ZeroSkaten
i'm assuming that you already know how to make an AI walk to a waypoint. Just make two waypoints and $targetname them path_1 and path_2 . Make path_1's target path_2, and vise versa. then add a trigger multiple and $targetname it path_trigger. Remeber to make the AI patrol by pressing i and in the type_idle box choose patrol, then in the patrolpath box type path_1 . Tell me if you dont understand this, I may have explained it confusingly :P .

Posted: Tue Apr 01, 2003 11:47 pm
by Clackinizer
can you IM me on AIM? lol, i dont think i understand......... sry :oops: :(

Posted: Wed Apr 02, 2003 12:23 am
by nuggets
lol, i presume this hasn't been replied to so i'll answer it here

1st and 2nd, make the waypoints and call them
key: targetname
value: way1
key: target
value: way2

and

key: targetname
value: way2
key: targetname
value: way1 (you see the kinda thing and how it works so far)

3rd create the patroller, and give him properties
key: targetname
value: whateveryalike
key: target
value: way1

you can also do this with script, but this is the easiest way :D

//otherwise the scripting

i'll post at a later date :P

Posted: Wed Apr 02, 2003 12:41 am
by Clackinizer
will he stop after he hits the 2nd way point?! or will he do it forever until someone kills him? cuz i want him to pace forever!!! :D

Posted: Wed Apr 02, 2003 1:00 am
by nuggets
until he sees an enemy, unless you disable his AI then forever

Posted: Wed Apr 02, 2003 4:24 am
by mohaa_rox
Read the tutorial on this patrolling guys here.