DayZ 1.24
|
Protected Member Functions | |
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) |
Protected Attributes | |
float | m_PerformedTimestamp |
int | m_Cooldown |
string | m_SoundSet |
ref TStringArray | m_Surfaces |
vector | m_MatchingSurfacePos |
Definition at line 84 of file SpookyAreaMisc.c.
|
inlineprotected |
Definition at line 94 of file SpookyAreaMisc.c.
References Init().
|
inlineprotected |
Definition at line 127 of file SpookyAreaMisc.c.
Referenced by CanPerform().
|
inlineprotected |
Definition at line 135 of file SpookyAreaMisc.c.
References CanDo(), GetMatchingSurfacePos(), HasSurfaces(), m_Cooldown, m_MatchingSurfacePos, m_PerformedTimestamp, m_Surfaces, and vector::Zero.
|
protected |
Referenced by Perform().
|
inlineprotected |
Definition at line 102 of file SpookyAreaMisc.c.
References vector::Zero.
Referenced by CanPerform().
|
inlineprotected |
Definition at line 173 of file SpookyAreaMisc.c.
References HasSurfaces(), m_MatchingSurfacePos, vector::RandomDir2D(), and Math::RandomFloatInclusive().
Referenced by Perform().
|
inlineprotected |
Definition at line 122 of file SpookyAreaMisc.c.
References m_Surfaces.
Referenced by CanPerform(), and GetSoundPos().
|
protected |
Referenced by SpookyEventBase().
|
inlineprotected |
Definition at line 150 of file SpookyAreaMisc.c.
References Do(), Debug::DrawSphere(), DiagMenu::GetBool(), GetSoundPos(), m_PerformedTimestamp, m_SoundSet, SEffectManager::PlaySound(), Print(), and Colors::YELLOW.
Definition at line 117 of file SpookyAreaMisc.c.
References m_Cooldown.
Referenced by SpookyEventWind::Init(), and SpookyEventSteps::Init().
|
protected |
Definition at line 88 of file SpookyAreaMisc.c.
Referenced by CanPerform(), and SetCoolDown().
|
protected |
Definition at line 92 of file SpookyAreaMisc.c.
Referenced by CanPerform(), and GetSoundPos().
|
protected |
Definition at line 87 of file SpookyAreaMisc.c.
Referenced by CanPerform(), and Perform().
|
protected |
Definition at line 90 of file SpookyAreaMisc.c.
Referenced by SpookyEventWind::Init(), SpookyEventSteps::Init(), and Perform().
|
protected |
Definition at line 91 of file SpookyAreaMisc.c.
Referenced by CanPerform(), HasSurfaces(), and SpookyEventSteps::Init().