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:
""
)]
2
class
SCR_ScenarioFrameworkLayerTaskKillClass
:
SCR_ScenarioFrameworkLayerTaskClass
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
{
13
if
(!
GetTaskManager
().FindSupportEntity(
SCR_ScenarioFrameworkTaskKillSupportEntity
))
14
{
15
Print(
"ScenarioFramework: Task Kill support entity not found in the world, task won't be created!"
, LogLevel.ERROR);
16
return
false
;
17
}
18
m_SupportEntity =
SCR_ScenarioFrameworkTaskKillSupportEntity
.Cast(
GetTaskManager
().FindSupportEntity(
SCR_ScenarioFrameworkTaskKillSupportEntity
));
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
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
ScenarioFramework
Components
SCR_ScenarioFrameworkLayerTaskKill.c
Generated by
1.8.17