Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_ScenarioFrameworkLayerTaskKill.c
Go to the documentation of this file.
1 [EntityEditorProps(category: "GameScripted/ScenarioFramework/Layer", description: "")]
3 {
4 }
5 
6 class SCR_ScenarioFrameworkLayerTaskKill : SCR_ScenarioFrameworkLayerTask
7 {
8  protected ref EntitySpawnParams m_SpawnParams = new EntitySpawnParams();
9 
10  //------------------------------------------------------------------------------------------------
11  override bool SetSupportEntity()
12  {
14  {
15  Print("ScenarioFramework: Task Kill support entity not found in the world, task won't be created!", LogLevel.ERROR);
16  return false;
17  }
19  return true;
20  }
21 
22  //------------------------------------------------------------------------------------------------
23  // constructor
27  void SCR_ScenarioFrameworkLayerTaskKill(IEntityComponentSource src, IEntity ent, IEntity parent)
28  {
29  m_eTypeOfTask = SCR_ESFTaskType.KILL;
30  }
31 }
SCR_ScenarioFrameworkLayerTaskKill
void SCR_ScenarioFrameworkLayerTaskKill(IEntityComponentSource src, IEntity ent, IEntity parent)
Definition: SCR_ScenarioFrameworkLayerTaskKill.c:27
EntityEditorProps
enum EQueryType EntityEditorProps(category:"GameScripted/Sound", description:"THIS IS THE SCRIPT DESCRIPTION.", color:"0 0 255 255")
Definition: SCR_AmbientSoundsComponent.c:12
SCR_ScenarioFrameworkTaskKillSupportEntity
Definition: SCR_ScenarioFrameworkTaskKillSupportEntity.c:8
SCR_ScenarioFrameworkLayerTaskKillClass
Definition: SCR_ScenarioFrameworkLayerTaskKill.c:2
SCR_ScenarioFrameworkLayerTaskClass
Definition: SCR_ScenarioFrameworkLayerTask.c:2
m_SpawnParams
SCR_ScenarioFrameworkLayerTaskKillClass m_SpawnParams
GetTaskManager
SCR_BaseTaskManager GetTaskManager()
Definition: SCR_BaseTaskManager.c:7
SetSupportEntity
override bool SetSupportEntity()
Definition: SCR_ScenarioFrameworkLayerTaskKill.c:11
category
params category
Definition: SCR_VehicleDamageManagerComponent.c:180