Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_ScenarioFrameworkLayerTaskDestroy.c
Go to the documentation of this file.
1 [EntityEditorProps(category: "GameScripted/ScenarioFramework/Layer", description: "")]
3 {
4 }
5 
6 class SCR_ScenarioFrameworkLayerTaskDestroy : SCR_ScenarioFrameworkLayerTask
7 {
8  protected ref EntitySpawnParams m_SpawnParams = new EntitySpawnParams();
9 
10  //------------------------------------------------------------------------------------------------
11  override bool SetSupportEntity()
12  {
14  {
15  Print("ScenarioFramework: Task Destroy 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_ScenarioFrameworkLayerTaskDestroy(IEntityComponentSource src, IEntity ent, IEntity parent)
28  {
29  m_eTypeOfTask = SCR_ESFTaskType.DESTROY;
30  }
31 }
SCR_ScenarioFrameworkLayerTaskDestroy
void SCR_ScenarioFrameworkLayerTaskDestroy(IEntityComponentSource src, IEntity ent, IEntity parent)
Definition: SCR_ScenarioFrameworkLayerTaskDestroy.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_ScenarioFrameworkTaskDestroySupportEntity
Definition: SCR_ScenarioFrameworkTaskDestroySupportEntity.c:8
SCR_ScenarioFrameworkLayerTaskClass
Definition: SCR_ScenarioFrameworkLayerTask.c:2
GetTaskManager
SCR_BaseTaskManager GetTaskManager()
Definition: SCR_BaseTaskManager.c:7
SCR_ScenarioFrameworkLayerTaskDestroyClass
Definition: SCR_ScenarioFrameworkLayerTaskDestroy.c:2
m_SpawnParams
SCR_ScenarioFrameworkLayerTaskDestroyClass m_SpawnParams
SetSupportEntity
override bool SetSupportEntity()
Definition: SCR_ScenarioFrameworkLayerTaskDestroy.c:11
category
params category
Definition: SCR_VehicleDamageManagerComponent.c:180