mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-23 21:24:27 +00:00
parent
e13192ee20
commit
fd613ebed7
@ -1946,7 +1946,7 @@ void CHFGrunt :: HandleAnimEvent( MonsterEvent_t *pEvent )
|
|||||||
SENTENCEG_PlayRndSz(ENT(pev), SentenceByNumber(FGRUNT_SENT_ALERT), FGRUNT_SENTENCE_VOLUME, ATTN_NORM, 0, m_voicePitch);
|
SENTENCEG_PlayRndSz(ENT(pev), SentenceByNumber(FGRUNT_SENT_ALERT), FGRUNT_SENTENCE_VOLUME, ATTN_NORM, 0, m_voicePitch);
|
||||||
JustSpoke();
|
JustSpoke();
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
@ -390,7 +390,7 @@ void CStrooper::HandleAnimEvent(MonsterEvent_t *pEvent)
|
|||||||
SENTENCEG_PlayRndSz(ENT(pev), "ST_ALERT", STROOPER_SENTENCE_VOLUME, STROOPER_ATTN, 0, m_voicePitch);
|
SENTENCEG_PlayRndSz(ENT(pev), "ST_ALERT", STROOPER_SENTENCE_VOLUME, STROOPER_ATTN, 0, m_voicePitch);
|
||||||
JustSpoke();
|
JustSpoke();
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
@ -1010,6 +1010,7 @@ void CVoltigore::StartTask(Task_t *pTask)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case TASK_VOLTIGORE_GET_PATH_TO_ENEMY_CORPSE:
|
case TASK_VOLTIGORE_GET_PATH_TO_ENEMY_CORPSE:
|
||||||
|
{
|
||||||
UTIL_MakeVectors( pev->angles );
|
UTIL_MakeVectors( pev->angles );
|
||||||
if( BuildRoute( m_vecEnemyLKP - gpGlobals->v_forward * 50, bits_MF_TO_LOCATION, NULL ) )
|
if( BuildRoute( m_vecEnemyLKP - gpGlobals->v_forward * 50, bits_MF_TO_LOCATION, NULL ) )
|
||||||
{
|
{
|
||||||
@ -1020,6 +1021,8 @@ void CVoltigore::StartTask(Task_t *pTask)
|
|||||||
ALERT( at_aiconsole, "VoltigoreGetPathToEnemyCorpse failed!!\n" );
|
ALERT( at_aiconsole, "VoltigoreGetPathToEnemyCorpse failed!!\n" );
|
||||||
TaskFail();
|
TaskFail();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
CBaseMonster::StartTask(pTask);
|
CBaseMonster::StartTask(pTask);
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user