game/server/hl2/npc_conscript_rocket.cpp
void CNPC_Ronscript::InitCustomSchedules(void) 
{
	INIT_CUSTOM_AI(CNPC_Ronscript);

	ADD_CUSTOM_TASK(CNPC_Ronscript,	TASK_RONSCRIPT_CROUCH);

	ADD_CUSTOM_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_FOLLOW);
	ADD_CUSTOM_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_DRAW);
	ADD_CUSTOM_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_FACE_TARGET);
	ADD_CUSTOM_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_WANDER);
	ADD_CUSTOM_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_STAND);
	ADD_CUSTOM_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_AIM);
	ADD_CUSTOM_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_BARNACLE_HIT);
	ADD_CUSTOM_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_BARNACLE_PULL);
	ADD_CUSTOM_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_BARNACLE_CHOMP);
	ADD_CUSTOM_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_BARNACLE_CHEW);

	ADD_CUSTOM_ACTIVITY(CNPC_Ronscript,	ACT_RONSCRIPT_AIM);

	AI_LOAD_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_FOLLOW);
	AI_LOAD_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_DRAW);
	AI_LOAD_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_FACE_TARGET);
	AI_LOAD_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_WANDER);
	AI_LOAD_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_STAND);
	AI_LOAD_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_AIM);
	AI_LOAD_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_BARNACLE_HIT);
	AI_LOAD_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_BARNACLE_PULL);
	AI_LOAD_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_BARNACLE_CHOMP);
	AI_LOAD_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_BARNACLE_CHEW);
}
//-----------------------------------------------------------------------------
// Purpose: Initialize the custom schedules
// Input  :
// Output :
//-----------------------------------------------------------------------------
Initialize the custom schedules
Input  :
Output .
Initialize the custom schedules Input : Output .
void CNPC_Ronscript::InitCustomSchedules(void) 
{
	INIT_CUSTOM_AI(CNPC_Ronscript);
	ADD_CUSTOM_TASK(CNPC_Ronscript,	TASK_RONSCRIPT_CROUCH);
	ADD_CUSTOM_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_FOLLOW);
	ADD_CUSTOM_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_DRAW);
	ADD_CUSTOM_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_FACE_TARGET);
	ADD_CUSTOM_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_WANDER);
	ADD_CUSTOM_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_STAND);
	ADD_CUSTOM_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_AIM);
	ADD_CUSTOM_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_BARNACLE_HIT);
	ADD_CUSTOM_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_BARNACLE_PULL);
	ADD_CUSTOM_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_BARNACLE_CHOMP);
	ADD_CUSTOM_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_BARNACLE_CHEW);
	ADD_CUSTOM_ACTIVITY(CNPC_Ronscript,	ACT_RONSCRIPT_AIM);
	AI_LOAD_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_FOLLOW);
	AI_LOAD_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_DRAW);
	AI_LOAD_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_FACE_TARGET);
	AI_LOAD_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_WANDER);
	AI_LOAD_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_STAND);
	AI_LOAD_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_AIM);
	AI_LOAD_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_BARNACLE_HIT);
	AI_LOAD_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_BARNACLE_PULL);
	AI_LOAD_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_BARNACLE_CHOMP);
	AI_LOAD_SCHEDULE(CNPC_Ronscript,	SCHED_RONSCRIPT_BARNACLE_CHEW);
}
void CNPC_Ronscript :: InitCustomSchedules ( void ) { INIT_CUSTOM_AI ( CNPC_Ronscript ) ; ADD_CUSTOM_TASK ( CNPC_Ronscript , TASK_RONSCRIPT_CROUCH ) ; ADD_CUSTOM_SCHEDULE ( CNPC_Ronscript , SCHED_RONSCRIPT_FOLLOW ) ; ADD_CUSTOM_SCHEDULE ( CNPC_Ronscript , SCHED_RONSCRIPT_DRAW ) ; ADD_CUSTOM_SCHEDULE ( CNPC_Ronscript , SCHED_RONSCRIPT_FACE_TARGET ) ; ADD_CUSTOM_SCHEDULE ( CNPC_Ronscript , SCHED_RONSCRIPT_WANDER ) ; ADD_CUSTOM_SCHEDULE ( CNPC_Ronscript , SCHED_RONSCRIPT_STAND ) ; ADD_CUSTOM_SCHEDULE ( CNPC_Ronscript , SCHED_RONSCRIPT_AIM ) ; ADD_CUSTOM_SCHEDULE ( CNPC_Ronscript , SCHED_RONSCRIPT_BARNACLE_HIT ) ; ADD_CUSTOM_SCHEDULE ( CNPC_Ronscript , SCHED_RONSCRIPT_BARNACLE_PULL ) ; ADD_CUSTOM_SCHEDULE ( CNPC_Ronscript , SCHED_RONSCRIPT_BARNACLE_CHOMP ) ; ADD_CUSTOM_SCHEDULE ( CNPC_Ronscript , SCHED_RONSCRIPT_BARNACLE_CHEW ) ; ADD_CUSTOM_ACTIVITY ( CNPC_Ronscript , ACT_RONSCRIPT_AIM ) ; AI_LOAD_SCHEDULE ( CNPC_Ronscript , SCHED_RONSCRIPT_FOLLOW ) ; AI_LOAD_SCHEDULE ( CNPC_Ronscript , SCHED_RONSCRIPT_DRAW ) ; AI_LOAD_SCHEDULE ( CNPC_Ronscript , SCHED_RONSCRIPT_FACE_TARGET ) ; AI_LOAD_SCHEDULE ( CNPC_Ronscript , SCHED_RONSCRIPT_WANDER ) ; AI_LOAD_SCHEDULE ( CNPC_Ronscript , SCHED_RONSCRIPT_STAND ) ; AI_LOAD_SCHEDULE ( CNPC_Ronscript , SCHED_RONSCRIPT_AIM ) ; AI_LOAD_SCHEDULE ( CNPC_Ronscript , SCHED_RONSCRIPT_BARNACLE_HIT ) ; AI_LOAD_SCHEDULE ( CNPC_Ronscript , SCHED_RONSCRIPT_BARNACLE_PULL ) ; AI_LOAD_SCHEDULE ( CNPC_Ronscript , SCHED_RONSCRIPT_BARNACLE_CHOMP ) ; AI_LOAD_SCHEDULE ( CNPC_Ronscript , SCHED_RONSCRIPT_BARNACLE_CHEW ) ; }
Purpose: Initialize the custom schedules
Input  :
Output :
Purpose : Initialize the custom schedules Input : Output :