Page 1 of 1

AI Patrol Tutorial

Posted: Thu Dec 11, 2008 8:44 pm
by Lillemann1993
Do you want a enemy to patrol a area? it's realy easy!

1. Create a ai/german/wehrmacht/soldier
2. Press I and set type_idle to patrol
3. Give him a target of path1
4. And set the patrolpath to path1

1. Create a info/waypoint and place it on your info/playerstart
2. Give it a $targetname of path1
3. Give it a target of path2
4. Now create a new info/waypoint and place it where you want!
5. Give it a $targetname of path2
6. And give it a target of path1

Now you have a enemy patroling from A to B.