Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_CampaignSoundComponent.c
Go to the documentation of this file.
1 [ComponentEditorProps(category: "GameScripted/Sound", description: "Component is active only in conflict mode")]
3 {
4 }
5 
6 class SCR_CampaignSoundComponent : SoundComponent
7 {
8  //------------------------------------------------------------------------------------------------
9  override void OnInit(IEntity owner)
10  {
11  super.OnInit(owner);
12 
13  BaseGameMode gameMode = GetGame().GetGameMode();
14  if (!gameMode || SCR_GameModeEditor.Cast(gameMode))
16  }
17 
18  //------------------------------------------------------------------------------------------------
19  // constructor
23  void SCR_CampaignSoundComponent(IEntityComponentSource src, IEntity ent, IEntity parent)
24  {
26  }
27 }
ComponentEditorProps
SCR_FragmentEntityClass ComponentEditorProps
GetGame
ArmaReforgerScripted GetGame()
Definition: game.c:1424
SCR_CampaignSoundComponentClass
Definition: SCR_CampaignSoundComponent.c:2
SoundComponentClass
Definition: SoundComponent.c:12
EnableDynamicSimulation
SimpleSoundComponentClass BaseSoundComponentClass EnableDynamicSimulation(bool value)
Enables the dynamic simulation.
SCR_CampaignSoundComponent
void SCR_CampaignSoundComponent(IEntityComponentSource src, IEntity ent, IEntity parent)
Definition: SCR_CampaignSoundComponent.c:23
OnInit
SCR_CampaignSoundComponentClass SoundComponentClass OnInit(IEntity owner)
Definition: SCR_CampaignSoundComponent.c:9
SetScriptedMethodsCall
proto external void SetScriptedMethodsCall(bool state)
Set flag for script callbacks.
SCR_GameModeEditor
Definition: SCR_GameModeEditor.c:7
category
params category
Definition: SCR_VehicleDamageManagerComponent.c:180