Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_AudioSourceConfiguration.c
Go to the documentation of this file.
2{
3 Static = 1 << 0,
4 EnvironmentSignals = 1 << 1,
6 BoundingVolume = 1 << 3,
7 ExteriorSource = 1 << 4
8}
9
11class SCR_AudioSourceConfiguration
13 [Attribute("", UIWidgets.ResourceNamePicker, desc: "Sound project (acp)", "acp")]
16 [Attribute("", UIWidgets.EditBox, desc: "Sound event name")]
17 string m_sSoundEventName;
18
19 [Attribute(defvalue:"0 0 0", desc: "Sound offset towards entity origin", params: "inf inf purpose=coords space=entity")]
21
22 [Attribute("1", UIWidgets.Flags, enums: ParamEnumArray.FromEnum(EAudioSourceConfigurationFlag))]
24
25 //------------------------------------------------------------------------------------------------
29 bool IsValid()
30 {
31 return (m_sSoundProject != string.Empty && m_sSoundEventName != string.Empty);
32 }
33
34 //------------------------------------------------------------------------------------------------
38 bool HasOffset()
39 {
40 return m_vOffset != vector.Zero;
41 }
42};
SCR_EAIThreatSectorFlags m_eFlags
@ BoundingVolume
@ FinishWhenEntityDestroyed
@ Static
@ HasOffset
@ EnvironmentSignals
@ ExteriorSource
string m_sSoundEventName
Sound event name.
ResourceName m_sSoundProject
Audio project resource name.
enum EAudioSourceConfigurationFlag BaseContainerProps()] class SCR_AudioSourceConfiguration
vector m_vOffset
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
SCR_FieldOfViewSettings Attribute