Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
mindstates.c
Go to the documentation of this file.
2 {
3  override bool CanPlay()
4  {
5  if( !super.CanPlay() )
6  {
7  return false;
8  }
9  return true;
10  }
11 }
12 
14 {
16  {
18  m_ID = EInfectedSoundEventID.MINDSTATE_CALM_IDLE;
19  m_SoundSetNameRoot = "CalmIdle";
20  }
21 }
22 
24 {
25  void CalmMoveSoundEvent()
26  {
28  m_ID = EInfectedSoundEventID.MINDSTATE_CALM_MOVE;
29  m_SoundSetNameRoot = "CalmMove";
30  }
31 }
32 
34 {
36  {
38  m_ID = EInfectedSoundEventID.MINDSTATE_DISTURBED_IDLE;
39  m_SoundSetNameRoot = "DisturbedIdle";
40  }
41 }
42 
44 {
45  void ChaseMoveSoundEvent()
46  {
48  m_ID = EInfectedSoundEventID.MINDSTATE_CHASE_MOVE;
49  m_SoundSetNameRoot = "ChaseMove";
50  }
51 }
52 
54 {
56  {
58  m_ID = EInfectedSoundEventID.MINDSTATE_ALERTED_IDLE;
59  m_SoundSetNameRoot = "AlertedIdle";
60  }
61 }
62 
63 class AlertedMoveSoundEvent extends MindStateSoundEventBase
64 {
65  void AlertedMoveSoundEvent()
66  {
68  m_ID = EInfectedSoundEventID.MINDSTATE_ALERTED_MOVE;
69  m_SoundSetNameRoot = "AlertedMove";
70  }
71 }
MindStateSoundEventBase
Definition: mindstates.c:23
m_Type
eBleedingSourceType m_Type
Definition: bleedingsource.c:25
CanPlay
override bool CanPlay()
Definition: mindstates.c:2
EInfectedSoundEventType
EInfectedSoundEventType
Definition: infectedsoundeventbase.c:1
AlertedIdleSoundEvent
class ChaseMoveSoundEvent extends MindStateSoundEventBase AlertedIdleSoundEvent()
Definition: mindstates.c:55
CalmMoveSoundEvent
void CalmMoveSoundEvent()
Definition: mindstates.c:2
ChaseMoveSoundEvent
void ChaseMoveSoundEvent()
Definition: mindstates.c:2
InfectedSoundEventBase
Definition: mindstates.c:1
DisturbedIdleSoundEvent
class CalmMoveSoundEvent extends MindStateSoundEventBase DisturbedIdleSoundEvent()
Definition: mindstates.c:35
CalmIdleSoundEvent
class MindStateSoundEventBase extends InfectedSoundEventBase CalmIdleSoundEvent()
Definition: mindstates.c:15
EInfectedSoundEventID
EInfectedSoundEventID
Definition: infectedsoundeventhandler.c:1
m_ID
protected int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
Definition: effect.c:49
m_SoundSetNameRoot
string m_SoundSetNameRoot
Definition: soundevents.c:7