//::////////////////////////////////////////////////// //:: OnPerception for herbivore/omnivore //:: LOC_PERCEPT //::////////////////////////////////////////////////// /* Default OnPerception event handler for NPCs. Handles behavior when perceiving a creature for the first time. */ //::////////////////////////////////////////////////// #include "loc_i0_generic" void main() { /* Script generated by Lilac Soul's NWN Script Generator, v. 1.6 For download info, please visit: http://www.lilacsoul.revility.com */ //Goes OnPerceived of a creature object oPC = GetLastPerceived(); if (!GetIsPC(oPC)) return; if (!GetLastPerceptionSeen()) return; ActionForceFollowObject(oPC); }