Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_ScenarioFrameworkSlotExtraction.c
Go to the documentation of this file.
1 [EntityEditorProps(category: "GameScripted/ScenarioFramework/Slot", description: "")]
3 {
4 }
5 
6 class SCR_ScenarioFrameworkSlotExtraction : SCR_ScenarioFrameworkSlotTask
7 {
8  //------------------------------------------------------------------------------------------------
9  override void Init(SCR_ScenarioFrameworkArea area = null, SCR_ScenarioFrameworkEActivationType activation = SCR_ScenarioFrameworkEActivationType.SAME_AS_PARENT)
10  {
11  if (m_eActivationType != activation)
12  {
13  if (m_ParentLayer)
14  m_ParentLayer.CheckAllChildrenSpawned(this);
15 
16  return;
17  }
18 
20  {
21  //If just one condition is false, we don't continue and interrupt the init
22  if (!activationCondition.Init(GetOwner()))
23  {
25  return;
26  }
27  }
28 
29  super.Init(area, activation);
30 
32  if (!trigger)
33  return;
34 
35  trigger.SetOwnerFaction(m_sFactionKey);
36  }
37 }
SCR_ScenarioFrameworkActivationConditionBase
Definition: SCR_ScenarioFrameworkSlotBase.c:677
m_eActivationType
protected SCR_ScenarioFrameworkEActivationType m_eActivationType
Definition: SCR_ScenarioFrameworkLayerBase.c:43
EntityEditorProps
enum EQueryType EntityEditorProps(category:"GameScripted/Sound", description:"THIS IS THE SCRIPT DESCRIPTION.", color:"0 0 255 255")
Definition: SCR_AmbientSoundsComponent.c:12
m_Entity
enum EAITargetInfoCategory m_Entity
m_sFactionKey
protected FactionKey m_sFactionKey
Definition: SCR_ScenarioFrameworkLayerBase.c:25
InvokeAllChildrenSpawned
void InvokeAllChildrenSpawned()
Definition: SCR_ScenarioFrameworkLayerBase.c:460
SCR_ScenarioFrameworkArea
Definition: SCR_ScenarioFrameworkArea.c:24
Init
SCR_ScenarioFrameworkSlotExtractionClass SCR_ScenarioFrameworkSlotTaskClass Init(SCR_ScenarioFrameworkArea area=null, SCR_ScenarioFrameworkEActivationType activation=SCR_ScenarioFrameworkEActivationType.SAME_AS_PARENT)
Definition: SCR_ScenarioFrameworkSlotExtraction.c:9
GetOwner
IEntity GetOwner()
Owner entity of the fuel tank.
Definition: SCR_FuelNode.c:128
m_ParentLayer
protected SCR_ScenarioFrameworkLayerBase m_ParentLayer
Definition: SCR_ScenarioFrameworkLayerBase.c:65
SCR_CharacterTriggerEntity
Definition: SCR_CharacterTriggerEntity.c:17
SCR_ScenarioFrameworkSlotExtractionClass
Definition: SCR_ScenarioFrameworkSlotExtraction.c:2
SCR_ScenarioFrameworkSlotTaskClass
Definition: SCR_ScenarioFrameworkSlotTask.c:2
m_aActivationConditions
protected ref array< ref SCR_ScenarioFrameworkActivationConditionBase > m_aActivationConditions
Definition: SCR_ScenarioFrameworkLayerBase.c:46
category
params category
Definition: SCR_VehicleDamageManagerComponent.c:180