DayZ 1.24
Loading...
Searching...
No Matches
SpookyEventSteps Class Reference
Inheritance diagram for SpookyEventSteps:
[legend]
Collaboration diagram for SpookyEventSteps:
[legend]

Protected Member Functions

void Init ()
 
void Do (PlayerBase player)
 

Additional Inherited Members

- Private Member Functions inherited from SpookyEventBase
void SpookyEventBase ()
 
void Init ()
 
vector GetMatchingSurfacePos (TStringArray surfaces, TStringVectorMap gatheredSurfaces)
 
void SetCoolDown (float secs)
 
bool HasSurfaces ()
 
bool CanDo (PlayerBase player, TStringVectorMap surfaceTypes)
 
void Do (PlayerBase player)
 
bool CanPerform (PlayerBase player, float currentTime, TStringVectorMap surfaceTypes)
 
void Perform (PlayerBase player, float currentTime, TStringVectorMap gatheredSurfaces)
 
vector GetSoundPos (PlayerBase player)
 
- Private Attributes inherited from SpookyEventBase
float m_PerformedTimestamp
 
int m_Cooldown
 
string m_SoundSet
 
ref TStringArray m_Surfaces
 
vector m_MatchingSurfacePos
 

Detailed Description

Definition at line 36 of file SpookyAreaMisc.c.

Member Function Documentation

◆ Do()

void SpookyEventSteps::Do ( PlayerBase player)
inlineprotected

Definition at line 45 of file SpookyAreaMisc.c.

46 {
47 //put additional code here
48 }

◆ Init()

void SpookyEventSteps::Init ( )
inlineprotected

Definition at line 38 of file SpookyAreaMisc.c.

39 {
40 SetCoolDown(40);
41 m_SoundSet = "SpookyArea_RunOnConcrete_SoundSet";
42 m_Surfaces = {"stone", "gravel", "concrete", "wood", "asphalt", "tiles", "textile"};
43 }
ref TStringArray m_Surfaces
void SetCoolDown(float secs)

References SpookyEventBase::m_SoundSet, SpookyEventBase::m_Surfaces, and SpookyEventBase::SetCoolDown().


The documentation for this class was generated from the following file: