|
|
@ -44,6 +44,7 @@ class CISlave : public CSquadMonster |
|
|
|
public: |
|
|
|
public: |
|
|
|
void Spawn( void ); |
|
|
|
void Spawn( void ); |
|
|
|
void Precache( void ); |
|
|
|
void Precache( void ); |
|
|
|
|
|
|
|
void UpdateOnRemove(); |
|
|
|
void SetYawSpeed( void ); |
|
|
|
void SetYawSpeed( void ); |
|
|
|
int ISoundMask( void ); |
|
|
|
int ISoundMask( void ); |
|
|
|
int Classify ( void ); |
|
|
|
int Classify ( void ); |
|
|
@ -62,7 +63,7 @@ public: |
|
|
|
|
|
|
|
|
|
|
|
void Killed( entvars_t *pevAttacker, int iGib ); |
|
|
|
void Killed( entvars_t *pevAttacker, int iGib ); |
|
|
|
|
|
|
|
|
|
|
|
void StartTask ( Task_t *pTask ); |
|
|
|
void StartTask( Task_t *pTask ); |
|
|
|
Schedule_t *GetSchedule( void ); |
|
|
|
Schedule_t *GetSchedule( void ); |
|
|
|
Schedule_t *GetScheduleOfType ( int Type ); |
|
|
|
Schedule_t *GetScheduleOfType ( int Type ); |
|
|
|
CUSTOM_SCHEDULES; |
|
|
|
CUSTOM_SCHEDULES; |
|
|
@ -583,6 +584,12 @@ void CISlave :: Precache() |
|
|
|
UTIL_PrecacheOther( "test_effect" ); |
|
|
|
UTIL_PrecacheOther( "test_effect" ); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void CISlave::UpdateOnRemove() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
CBaseEntity::UpdateOnRemove(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ClearBeams(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//=========================================================
|
|
|
|
//=========================================================
|
|
|
|
// TakeDamage - get provoked when injured
|
|
|
|
// TakeDamage - get provoked when injured
|
|
|
|