Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_ScenarioFrameworkLayerTaskClearArea.c
Go to the documentation of this file.
1
[
EntityEditorProps
(
category
:
"GameScripted/ScenarioFramework/Layer"
, description:
""
)]
2
class
SCR_ScenarioFrameworkLayerTaskClearAreaClass
:
SCR_ScenarioFrameworkLayerTaskClass
3
{
4
}
5
6
class
SCR_ScenarioFrameworkLayerTaskClearArea
: SCR_ScenarioFrameworkLayerTask
7
{
8
//------------------------------------------------------------------------------------------------
9
override
bool
SetSupportEntity
()
10
{
11
if
(!
GetTaskManager
().FindSupportEntity(
SCR_ScenarioFrameworkTaskClearAreaSupportEntity
))
12
{
13
Print(
"ScenarioFramework: Task Destroy support entity not found in the world, task won't be created!"
, LogLevel.ERROR);
14
return
false
;
15
}
16
17
m_SupportEntity =
SCR_ScenarioFrameworkTaskClearAreaSupportEntity
.Cast(
GetTaskManager
().FindSupportEntity(
SCR_ScenarioFrameworkTaskClearAreaSupportEntity
));
18
return
true
;
19
}
20
21
//------------------------------------------------------------------------------------------------
22
// constructor
26
void
SCR_ScenarioFrameworkLayerTaskClearArea
(IEntityComponentSource src, IEntity ent, IEntity parent)
27
{
28
m_eTypeOfTask = SCR_ESFTaskType.CLEAR_AREA;
29
}
30
}
SCR_ScenarioFrameworkTaskClearAreaSupportEntity
Definition:
SCR_ScenarioFrameworkTaskClearAreaSupportEntity.c:8
EntityEditorProps
enum EQueryType EntityEditorProps(category:"GameScripted/Sound", description:"THIS IS THE SCRIPT DESCRIPTION.", color:"0 0 255 255")
Definition:
SCR_AmbientSoundsComponent.c:12
SetSupportEntity
SCR_ScenarioFrameworkLayerTaskClearAreaClass SCR_ScenarioFrameworkLayerTaskClass SetSupportEntity()
Definition:
SCR_ScenarioFrameworkLayerTaskClearArea.c:9
SCR_ScenarioFrameworkLayerTaskClass
Definition:
SCR_ScenarioFrameworkLayerTask.c:2
SCR_ScenarioFrameworkLayerTaskClearAreaClass
Definition:
SCR_ScenarioFrameworkLayerTaskClearArea.c:2
GetTaskManager
SCR_BaseTaskManager GetTaskManager()
Definition:
SCR_BaseTaskManager.c:7
SCR_ScenarioFrameworkLayerTaskClearArea
void SCR_ScenarioFrameworkLayerTaskClearArea(IEntityComponentSource src, IEntity ent, IEntity parent)
Definition:
SCR_ScenarioFrameworkLayerTaskClearArea.c:26
category
params category
Definition:
SCR_VehicleDamageManagerComponent.c:180
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
ScenarioFramework
Components
SCR_ScenarioFrameworkLayerTaskClearArea.c
Generated by
1.8.17