| Code: |
function EnteredArea(npc, byref event, byref settings, byref scripts)
var source := event.source;
if ( NPC_ShouldWatch(npc, source, settings, scripts) )
if ( NPC_AddToWatchList(npc, source) )
AI_WakeUp(npc);
if ( scripts["LookAround"] )
if ( !GetNerveProcess(npc, "LookAround") )
AI_WakeUp(npc);
endif
endif
return 1;
endif
endif
return 0;
endfunction |
| Code: |
if ( scripts["LookAround"] )
if ( !GetNerveProcess(npc, "LookAround") )
AI_WakeUp(npc);
endif
endif |