12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- class InjurySoundEvents extends PlayerSoundEventBase
- {
-
- void InjurySoundEvents()
- {
- m_HasPriorityOverTypes = -1;//-1 for all
- m_Type = EPlayerSoundEventType.INJURY;
- }
-
- override bool CanPlay(PlayerBase player)
- {
- return true;
- }
-
- override bool HasPriorityOverCurrent(PlayerBase player, EPlayerSoundEventID other_state_id,EPlayerSoundEventType type_other )
- {
- return true;
- }
- }
- class InjuryLightSoundEvent extends InjurySoundEvents
- {
- void InjuryLightSoundEvent()
- {
-
- m_ID = EPlayerSoundEventID.INJURED_LIGHT;
- m_SoundVoiceAnimEventClassID = 28;
- }
- }
- class InjuryMediumSoundEvent extends InjurySoundEvents
- {
- void InjuryMediumSoundEvent()
- {
-
- m_ID = EPlayerSoundEventID.INJURED_MEDIUM;
- m_SoundVoiceAnimEventClassID = 28;
- }
- }
- class InjuryHeavySoundEvent extends InjurySoundEvents
- {
- void InjuryHeavySoundEvent()
- {
- m_ID = EPlayerSoundEventID.INJURED_HIGH;
- m_SoundVoiceAnimEventClassID = 28;
- }
- }
|