Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ScenarioFrameworkActionPlaySound.c
Go to the documentation of this file.
3{
4 [Attribute(desc: "Sound to play.")]
5 string m_sSound;
6
7 //------------------------------------------------------------------------------------------------
8 override void OnActivate(IEntity object)
9 {
10 if (!CanActivate())
11 return;
12
14 if (!scenarioFrameworkSystem)
15 return;
16
17 //After activation of this action, we want to play it with slight delay
18 SCR_ScenarioFrameworkCallQueueSystem.GetCallQueueNonPausable().CallLater(scenarioFrameworkSystem.PlaySoundOnEntity, 2000, false, null, m_sSound);
19 }
20}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
override void OnActivate()
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
static SCR_ScenarioFrameworkSystem GetInstance()
void PlaySoundOnEntity(IEntity entity, string sSndName)
SCR_FieldOfViewSettings Attribute