Wrapper class for managing sound through SEffectManager.
Manager class for managing Effect (EffectParticle, EffectSound)
static EffectSound PlaySoundEnviroment(string sound_set, vector position, float play_fade_in=0, float stop_fade_out=0, bool loop=false)
Create and play an EffectSound, updating environment variables.
TextWidget m_MapHeadingWidget
ref Timer m_RefreshFilterTimer
override bool OnChange(Widget w, int x, int y, bool finished)
MapWidget m_DebugMapWidget
ButtonWidget m_PlaySoundsetLooped
void ~ScriptConsoleSoundsTab(Widget root)
ButtonWidget m_CopySoundset
override bool OnMouseButtonDown(Widget w, int x, int y, int button)
void ChangeFilter(TStringArray classes, TextListboxWidget widget, EditBoxWidget filterWidget, int categoryMask=-1, bool ignoreScope=false)
static EffectSound m_SoundSet
EditBoxWidget m_SoundFilter
override bool OnClick(Widget w, int x, int y, int button)
void SetMapPos(vector pos)
TextListboxWidget m_SoundsTextListbox
TStringArray GetSoundClasses()
ButtonWidget m_StopSoundset
TextWidget m_MapDistWidget
override void Update(float timeslice)
static float DEBUG_MAP_ZOOM
bool m_PlayerPosRefreshBlocked
void PrepareFilters(string filter, out TStringArray filters)
void ScriptConsoleSoundsTab(Widget root, ScriptConsole console, Widget button, ScriptConsoleTabBase parent=null)
ButtonWidget m_PlaySoundset
PluginConfigDebugProfile m_ConfigDebugProfile
void AddItemToClipboard(TextListboxWidget text_listbox_widget)
proto native CGame GetGame()
array< string > TStringArray
proto native int KeyState(KeyCode key)
static proto float AngleFromPosition(vector origin, vector originDir, vector target)
Angle that a target is from the direction of an origin.
static const float RAD2DEG
proto void GetMousePos(out int x, out int y)