Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_BaseAudioSupportStationAction.c
Go to the documentation of this file.
2{
3 [Attribute(uiwidget: UIWidgets.ResourceNamePicker, desc: "Sound project (acp)", "acp")]
5
6 [Attribute(desc: "Sound Effect name")]
7 protected string m_sSoundEventName;
8
9 //------------------------------------------------------------------------------------------------
13 bool GetSoundEffectProjectAndEvent(out ResourceName soundProject, out string soundEffectName)
14 {
15 if (!Resource.Load(m_sSoundProject).IsValid() || m_sSoundEventName.IsEmpty())
16 return false;
17
18 soundProject = m_sSoundProject;
19 soundEffectName = m_sSoundEventName;
20
21 return true;
22 }
23
24 //------------------------------------------------------------------------------------------------
26 {
27 return GetOwner();
28 }
29}
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Object holding reference to resource. In destructor release the resource.
Definition Resource.c:25
bool GetSoundEffectProjectAndEvent(out ResourceName soundProject, out string soundEffectName)
IEntity GetOwner()
Owner entity of the fuel tank.
SCR_FieldOfViewSettings Attribute