DayZ 1.24
Loading...
Searching...
No Matches
MindStates.c File Reference

Go to the source code of this file.

Classes

class  InfectedSoundEventBase
 
class  MindStateSoundEventBase
 

Functions

class MindStateSoundEventBase extends InfectedSoundEventBase CalmIdleSoundEvent ()
 
override bool CanPlay ()
 
class CalmMoveSoundEvent extends MindStateSoundEventBase DisturbedIdleSoundEvent ()
 
void CalmMoveSoundEvent ()
 
class ChaseMoveSoundEvent extends MindStateSoundEventBase AlertedIdleSoundEvent ()
 
void ChaseMoveSoundEvent ()
 

Function Documentation

◆ AlertedIdleSoundEvent()

Definition at line 41 of file MindStates.c.

54 {
56 m_ID = EInfectedSoundEventID.MINDSTATE_ALERTED_IDLE;
57 m_SoundSetNameRoot = "AlertedIdle";
58 }
eBleedingSourceType m_Type
int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
Definition Effect.c:49
EInfectedSoundEventType
string m_SoundSetNameRoot
Definition SoundEvents.c:85

Referenced by InfectedSoundEventHandler().

◆ CalmIdleSoundEvent()

Definition at line 1 of file MindStates.c.

14 {
16 m_ID = EInfectedSoundEventID.MINDSTATE_CALM_IDLE;
17 m_SoundSetNameRoot = "CalmIdle";
18 }

Referenced by InfectedSoundEventHandler().

◆ CalmMoveSoundEvent()

void DisturbedIdleSoundEvent::CalmMoveSoundEvent ( )

Definition at line 34 of file MindStates.c.

34 {
36 m_ID = EInfectedSoundEventID.MINDSTATE_DISTURBED_IDLE;
37 m_SoundSetNameRoot = "DisturbedIdle";
38 }
39}

References m_ID, m_SoundSetNameRoot, and m_Type.

Referenced by InfectedSoundEventHandler().

◆ CanPlay()

override bool CalmIdleSoundEvent::CanPlay ( )

Definition at line 14 of file MindStates.c.

14 {
16 m_ID = EInfectedSoundEventID.MINDSTATE_CALM_IDLE;
17 m_SoundSetNameRoot = "CalmIdle";
18 }
19}

References m_ID, m_SoundSetNameRoot, and m_Type.

◆ ChaseMoveSoundEvent()

void AlertedIdleSoundEvent::ChaseMoveSoundEvent ( )

Definition at line 54 of file MindStates.c.

54 {
56 m_ID = EInfectedSoundEventID.MINDSTATE_ALERTED_IDLE;
57 m_SoundSetNameRoot = "AlertedIdle";
58 }
59}

References m_ID, m_SoundSetNameRoot, and m_Type.

Referenced by InfectedSoundEventHandler().

◆ DisturbedIdleSoundEvent()

Definition at line 21 of file MindStates.c.

34 {
36 m_ID = EInfectedSoundEventID.MINDSTATE_DISTURBED_IDLE;
37 m_SoundSetNameRoot = "DisturbedIdle";
38 }

Referenced by InfectedSoundEventHandler().