Hi I am having some troubles with the metropolice npc. I have used the patch from the source wiki in the article "fixing AI in multiplayer" and created my own schedule for the npc as follows :
DEFINE_SCHEDULE ( SCHED_METROPOLICE_TESTWALK, " Tasks" " TASK_SET_ROUTE_SEARCH_TIME 5" // Spend 5 seconds trying to build a path if stuck " TASK_GET_PATH_TO_RANDOM_NODE 200" " TASK_WALK_PATH 0" " TASK_WAIT_FOR_MOVEMENT 0" "" " Interrupts" ); Then I changed the npcs SelectSchedule to just return SCHED_METROPOLICE_TESTWALK but whenever the npc sees the player it starts to attack. Could someone point me in the right direction of the code where the schedule is getting changed or a way of finding out. thanks, Rob _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders