Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_ScenarioFrameworkTaskClearArea.c
Go to the documentation of this file.
1
//------------------------------------------------------------------------------------------------
2
class
SCR_ScenarioFrameworkTaskClearAreaClass
:
SCR_ScenarioFrameworkTaskAreaClass
3
{
4
};
5
6
7
//------------------------------------------------------------------------------------------------
8
class
SCR_ScenarioFrameworkTaskClearArea
:
SCR_ScenarioFrameworkTaskArea
9
{
10
//------------------------------------------------------------------------------------------------
11
override
void
OnTriggerActivated()
12
{
13
m_SupportEntity.FinishTask(
this
);
14
}
15
16
//------------------------------------------------------------------------------------------------
17
override
bool
SetSupportEntity()
18
{
19
m_SupportEntity =
SCR_ScenarioFrameworkTaskClearAreaSupportEntity
.Cast(
GetTaskManager
().FindSupportEntity(
SCR_ScenarioFrameworkTaskClearAreaSupportEntity
));
20
21
if
(!m_SupportEntity)
22
{
23
Print(
"ScenarioFramework: Task Clear area support entity not found in the world, task won't be created!"
, LogLevel.ERROR);
24
return
false
;
25
}
26
27
return
true
;
28
}
29
};
SCR_ScenarioFrameworkTaskClearAreaSupportEntity
Definition:
SCR_ScenarioFrameworkTaskClearAreaSupportEntity.c:8
SCR_ScenarioFrameworkTaskClearArea
Definition:
SCR_ScenarioFrameworkTaskClearArea.c:8
SCR_ScenarioFrameworkTaskClearAreaClass
Definition:
SCR_ScenarioFrameworkTaskClearArea.c:2
SCR_ScenarioFrameworkTaskArea
Definition:
SCR_ScenarioFrameworkTaskArea.c:7
SCR_ScenarioFrameworkTaskAreaClass
Definition:
SCR_ScenarioFrameworkTaskArea.c:2
GetTaskManager
SCR_BaseTaskManager GetTaskManager()
Definition:
SCR_BaseTaskManager.c:7
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
ScenarioFramework
Tasks
SCR_ScenarioFrameworkTaskClearArea.c
Generated by
1.8.17