// Test resumepatrol 'best' // Any time NPC hears a noise, resumes his patrol picking the best // destination in the list based on his current location (cuts // corners). For testing, NPC is totally inert. //debugmode 0 //debugaievents 1 //debugaiflags 240 inert 1 onevent hearnoisethreat gotolabel resumepatrol1 setstance crouching :beginpatrol_1 gotoactor pathnode9 gotoactor pathnode39 gotoactor pathnode38 gotoactor pathnode33 gotoactor pathnode5 gotolabel beginpatrol_1 :endpatrol_1 :resumepatrol1 resumepatrol beginpatrol_1 endpatrol_1 best