Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_BaseAudioSupportStationAction.c
Go to the documentation of this file.
1
class
SCR_BaseAudioSupportStationAction
:
SCR_BaseUseSupportStationAction
2
{
3
[
Attribute
(uiwidget:
UIWidgets
.ResourceNamePicker,
desc
:
"Sound project (acp)"
,
"acp"
)]
4
protected
ResourceName
m_sSoundProject
;
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
//------------------------------------------------------------------------------------------------
25
IEntity
GetSoundSource
()
26
{
27
return
GetOwner
();
28
}
29
}
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition
SCR_RespawnBriefingComponent.c:17
IEntity
Definition
IEntity.c:13
Resource
Object holding reference to resource. In destructor release the resource.
Definition
Resource.c:25
ResourceName
Definition
ResourceName.c:13
SCR_BaseAudioSupportStationAction
Definition
SCR_BaseAudioSupportStationAction.c:2
SCR_BaseAudioSupportStationAction::GetSoundSource
IEntity GetSoundSource()
Definition
SCR_BaseAudioSupportStationAction.c:25
SCR_BaseAudioSupportStationAction::GetSoundEffectProjectAndEvent
bool GetSoundEffectProjectAndEvent(out ResourceName soundProject, out string soundEffectName)
Definition
SCR_BaseAudioSupportStationAction.c:13
SCR_BaseAudioSupportStationAction::m_sSoundEventName
string m_sSoundEventName
Definition
SCR_BaseAudioSupportStationAction.c:7
SCR_BaseAudioSupportStationAction::m_sSoundProject
ResourceName m_sSoundProject
Definition
SCR_BaseAudioSupportStationAction.c:4
SCR_BaseUseSupportStationAction
Definition
SCR_BaseUseSupportStationAction.c:2
UIWidgets
Definition
attributes.c:40
GetOwner
IEntity GetOwner()
Owner entity of the fuel tank.
Definition
SCR_FuelNode.c:128
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
Game
UserActions
SupportStations
SCR_BaseAudioSupportStationAction.c
Generated by
1.17.0