Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_TaskCreatorComponent.c
Go to the documentation of this file.
1
[
ComponentEditorProps
(
category
:
"GameScripted/Tasks"
, description:
"Component that takes care of auto creating tasks."
)]
2
class
SCR_TaskCreatorComponentClass
:
SCR_BaseGameModeComponentClass
3
{
4
}
5
6
class
SCR_TaskCreatorComponent :
SCR_BaseGameModeComponent
7
{
8
[
Attribute
(
desc
:
"Array of task creators"
)]
9
protected
ref array<ref SCR_TaskCreator> m_aTaskCreators;
10
11
//------------------------------------------------------------------------------------------------
12
override
void
OnGameModeStart
()
13
{
14
RplComponent rplComponent = RplComponent.Cast(
GetOwner
().FindComponent(RplComponent));
15
if
(rplComponent && !rplComponent.IsMaster())
16
return
;
17
18
foreach
(
SCR_TaskCreator
taskCreator : m_aTaskCreators)
19
{
20
taskCreator.Init(
this
);
21
}
22
}
23
24
override
void
OnGameEnd
()
25
{
26
RplComponent rplComponent = RplComponent.Cast(
GetOwner
().FindComponent(RplComponent));
27
if
(rplComponent && !rplComponent.IsMaster())
28
return
;
29
30
foreach
(
SCR_TaskCreator
taskCreator : m_aTaskCreators)
31
{
32
taskCreator.Deinit();
33
}
34
}
35
}
ComponentEditorProps
enum EAIGroupCombatMode ComponentEditorProps(category:"GameScripted/AI", description:"Component for utility AI system for groups")
Definition
SCR_AIGroupUtilityComponent.c:12
OnGameEnd
override void OnGameEnd()
Called on all machines when the world ends.
Definition
SCR_AnalyticsDataCollectionComponent.c:65
SCR_BaseGameModeComponent
void SCR_BaseGameModeComponent(IEntityComponentSource src, IEntity ent, IEntity parent)
Definition
SCR_BaseGameModeComponent.c:171
OnGameModeStart
override void OnGameModeStart()
Definition
SCR_CacheManagerComponent.c:36
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition
SCR_RespawnBriefingComponent.c:17
category
params category
Definition
SCR_VehicleDamageManagerComponent.c:302
SCR_BaseGameModeComponentClass
Definition
SCR_BaseGameModeComponent.c:3
SCR_TaskCreatorComponentClass
Definition
SCR_TaskCreatorComponent.c:3
SCR_TaskCreator
Definition
SCR_TaskCreator.c:3
GetOwner
IEntity GetOwner()
Owner entity of the fuel tank.
Definition
SCR_FuelNode.c:128
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
Game
Tasks
Creators
SCR_TaskCreatorComponent.c
Generated by
1.17.0