153 {
154 #ifdef DIAG_DEVELOPER
156 Print(
"Performing " +
this);
157 #endif
159
161 {
164 sound.SetAutodestroy(
true );
165
166 #ifdef DIAG_DEVELOPER
169 #endif
170 }
171
173 }
const int YELLOW
Definition Colors.c:10
static Shape DrawSphere(vector pos, float size=1, int color=0x1fff7f7f, ShapeFlags flags=ShapeFlags.TRANSP|ShapeFlags.NOOUTLINE)
Definition Debug.c:333
Wrapper class for managing sound through SEffectManager.
Definition EffectSound.c:5
Manager class for managing Effect (EffectParticle, EffectSound)
Definition EffectManager.c:6
static EffectSound PlaySound(string sound_set, vector position, float play_fade_in=0, float stop_fade_out=0, bool loop=false)
Create and play an EffectSound.
Definition EffectManager.c:169
vector GetSoundPos(PlayerBase player)
Definition SpookyAreaMisc.c:175
void Do(PlayerBase player)
string m_SoundSet
Definition SpookyAreaMisc.c:92
proto void Print(void var)
Prints content of variable to console/log.
ShapeFlags
Definition EnDebug.c:126