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

Protected Member Functions

void Init ()
 
bool CanDo (PlayerBase player, TStringVectorMap surfaceTypes)
 
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 2 of file SpookyAreaMisc.c.

Member Function Documentation

◆ CanDo()

bool SpookyEventWind::CanDo ( PlayerBase player,
TStringVectorMap surfaceTypes )
inlineprotected

Definition at line 10 of file SpookyAreaMisc.c.

11 {
12 return player.IsSoundInsideBuilding();
13 }

◆ Do()

void SpookyEventWind::Do ( PlayerBase player)
inlineprotected

Definition at line 15 of file SpookyAreaMisc.c.

16 {
17 //put additional code here
18 }

◆ Init()

void SpookyEventWind::Init ( )
inlineprotected

Definition at line 4 of file SpookyAreaMisc.c.

5 {
6 SetCoolDown(65);
7 m_SoundSet = "SpookyArea_WhistlingWind_SoundSet";
8 }
void SetCoolDown(float secs)

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


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