//:://///////////////////////////////////////////// //:: Default: On User Defined //:: NW_C2_DEFAULTD //:: Copyright (c) 2002 Bioware Corp. //::////////////////////////////////////////////// /* Determines the course of action to be taken on a user defined event. */ //::////////////////////////////////////////////// //:: Created By: Don Moar //:: Created On: April 28, 2002 //::////////////////////////////////////////////// void main() { int nUser = GetUserDefinedEventNumber (); if ( nUser == 1001 ) { object oFollow = GetLocalObject ( OBJECT_SELF, "Follow" ); if ( GetIsObjectValid(oFollow) ) { ClearAllActions(); ActionForceFollowObject ( oFollow, 2.5 ); } } }