Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_ScenarioFrameworkLayerTask.c
Go to the documentation of this file.
1 [EntityEditorProps(category: "GameScripted/ScenarioFramework/Layer", description: "")]
3 {
4 }
5 
6 class SCR_ScenarioFrameworkLayerTask : SCR_ScenarioFrameworkLayerBase
7 {
8  [Attribute(desc: "Name of the task in list of tasks", category: "Task")]
9  string m_sTaskTitle;
10 
11  [Attribute(desc: "Description of the task", category: "Task", )] //TODO: make config, memory
12  string m_sTaskDescription;
13 
14  //[Attribute("Type of task", UIWidgets.ComboBox, enums: ParamEnumArray.FromEnum(SCR_ESFTaskType), category: "Task")];
15  SCR_ESFTaskType m_eTypeOfTask = SCR_ESFTaskType.DEFAULT;
16 
17  [Attribute(desc: "Task prefab", category: "Task")]
18  ResourceName m_sTaskPrefab;
19 
20  [Attribute(desc: "Marker on map is placed directly on the task subject Slot or on layer Slot", category: "Task")]
21  bool m_bPlaceMarkerOnSubjectSlot;
22 
23  [Attribute(desc: "Overrides display name of the spawned object for task purposes", category: "Task")]
24  string m_sOverrideObjectDisplayName;
25 
26  [Attribute(category: "OnTaskFinished")]
27  ref array<ref SCR_ScenarioFrameworkActionBase> m_aTriggerActionsOnFinish;
28 
29  SCR_ScenarioFrameworkSlotTask m_SlotTask; //storing this one in order to get the task title and description
32  SCR_TaskState m_eLayerTaskState;
33  bool m_bTaskResolvedBeforeLoad;
34 
35  static const ref ScriptInvoker s_OnTaskSetup = new ScriptInvoker();
36 
37 #ifdef WORKBENCH
38  [Attribute(defvalue: "0", desc: "Show the debug shapes in Workbench", category: "Debug")]
39  protected bool m_bShowDebugShapesInWorkbench;
40 #endif
41 
42  //------------------------------------------------------------------------------------------------
44  SCR_TaskState GetLayerTaskState()
45  {
46  return m_eLayerTaskState;
47  }
48 
49  //------------------------------------------------------------------------------------------------
52  {
53  return m_bTaskResolvedBeforeLoad;
54  }
55 
56  //------------------------------------------------------------------------------------------------
59  {
60  m_eLayerTaskState = state;
61  }
62 
63  //------------------------------------------------------------------------------------------------
66  {
67  return m_Task;
68  }
69 
70  //------------------------------------------------------------------------------------------------
72  ResourceName GetTaskPrefab()
73  {
74  return m_sTaskPrefab;
75  }
76 
77  //------------------------------------------------------------------------------------------------
79  // TODO: overridd*en
81  {
82  return m_sOverrideObjectDisplayName;
83  }
84 
85  //------------------------------------------------------------------------------------------------
87  // TODO: overridd*en
89  {
90  m_sOverrideObjectDisplayName = name;
91  }
92 
93  //------------------------------------------------------------------------------------------------
95  string GetTaskTitle()
96  {
97  return m_sTaskTitle;
98  }
99 
100  //------------------------------------------------------------------------------------------------
103  {
104  return m_sTaskDescription;
105  }
106 
107  //------------------------------------------------------------------------------------------------
110  {
111  if (!m_sOverrideObjectDisplayName.IsEmpty() && m_SlotTask && m_SlotTask.GetOverridenObjectDisplayName().IsEmpty())
112  m_SlotTask.SetOverridenObjectDisplayName(m_sOverrideObjectDisplayName);
113 
114  return m_sTaskDescription;
115  }
116 
117  //------------------------------------------------------------------------------------------------
119  SCR_ESFTaskType GetTaskType()
120  {
121  return m_eTypeOfTask;
122  }
123 
124  //------------------------------------------------------------------------------------------------
126  override void RestoreToDefault(bool includeChildren = false, bool reinitAfterRestoration = false)
127  {
128  foreach (SCR_ScenarioFrameworkActionBase activationAction : m_aTriggerActionsOnFinish)
129  {
130  activationAction.m_iNumberOfActivations = 0;
131  }
132 
133  m_SlotTask = null;
134  m_Task = null;
135  m_SupportEntity = null;
136  m_eLayerTaskState = SCR_TaskState.OPENED;
137  m_bTaskResolvedBeforeLoad = false;
138 
139  super.RestoreToDefault(includeChildren, reinitAfterRestoration);
140  }
141 
142  //------------------------------------------------------------------------------------------------
143  override void DynamicReinit()
144  {
145  Init(null, SCR_ScenarioFrameworkEActivationType.SAME_AS_PARENT);
146  }
147 
148  //------------------------------------------------------------------------------------------------
150  {
152  if (!m_bInitiated)
153  {
155  return;
156  }
157 
159  return;
160 
162  {
163  //If just one condition is false, we don't continue and interrupt the init
164  if (!activationCondition.Init(GetOwner()))
165  {
166  if (m_ParentLayer)
167  m_ParentLayer.CheckAllChildrenSpawned(this);
168 
169  return;
170  }
171  }
172 
173  m_bInitiated = false;
176  {
177  child.DynamicDespawn(this);
178  }
179 
180  foreach (IEntity entity : m_aSpawnedEntities)
181  {
182  SCR_EntityHelper.DeleteEntityAndChildren(entity);
183  }
184 
185  m_SlotTask = null;
186  m_aSpawnedEntities.Clear();
187 
189  }
190 
191  //------------------------------------------------------------------------------------------------
192  override void Init(SCR_ScenarioFrameworkArea area = null, SCR_ScenarioFrameworkEActivationType activation = SCR_ScenarioFrameworkEActivationType.SAME_AS_PARENT)
193  {
194  if (m_bInitiated)
195  return;
196 
197  if (!m_bDynamicallyDespawned && activation != m_eActivationType)
198  return;
199 
200  if (!area)
201  {
202  SCR_GameModeSFManager gameModeComp = SCR_GameModeSFManager.Cast(GetGame().GetGameMode().FindComponent(SCR_GameModeSFManager));
203  if (gameModeComp)
204  area = gameModeComp.GetParentArea(GetOwner());
205  }
206 
207  m_Area = area;
208 
209  bool previouslyRandomized;
210  if (!m_aRandomlySpawnedChildren.IsEmpty())
211  previouslyRandomized = true;
212 
213  // Handles inheritance of faction settings from parents
214  if (m_sFactionKey.IsEmpty() && m_ParentLayer && !m_ParentLayer.GetFactionKey().IsEmpty())
215  SetFactionKey(m_ParentLayer.GetFactionKey());
216 
217  if (!GetTaskManager())
218  {
219  Print("ScenarioFramework: Task manager not found in the world, tasks won't be created!", LogLevel.ERROR);
220  return;
221  }
222 
225 
227 
228  SpawnChildren(previouslyRandomized);
229  }
230 
231  //------------------------------------------------------------------------------------------------
234  void OnTaskStateChanged(SCR_TaskState previousState, SCR_TaskState newState)
235  {
236  m_eLayerTaskState = newState;
237 
238  if (newState == SCR_TaskState.FINISHED && !m_bTaskResolvedBeforeLoad)
239  {
240  foreach (SCR_ScenarioFrameworkActionBase triggerAction : m_aTriggerActionsOnFinish)
241  {
242  triggerAction.OnActivate(GetOwner());
243  }
244  }
245  }
246 
247  //------------------------------------------------------------------------------------------------
248  protected bool SetTaskPrefab()
249  {
250  if (!m_SupportEntity.GetTaskPrefab())
251  {
252  if (m_sTaskPrefab.IsEmpty())
253  {
254  Print("ScenarioFramework: Task prefab not set, task won't be created!", LogLevel.ERROR);
255  return false;
256  }
257 
258  m_SupportEntity.SetTaskPrefab(m_sTaskPrefab);
259  }
260 
261  return true;
262  }
263 
264  //------------------------------------------------------------------------------------------------
266  void SetSlotTask(SCR_ScenarioFrameworkSlotTask slotTask)
267  {
268  m_SlotTask = slotTask;
269  }
270 
271  //------------------------------------------------------------------------------------------------
273  SCR_ScenarioFrameworkSlotTask GetSlotTask()
274  {
275  return m_SlotTask;
276  }
277 
278  //------------------------------------------------------------------------------------------------
279  protected bool SetSupportEntity()
280  {
281  if (!GetTaskManager().FindSupportEntity(SCR_ScenarioFrameworkTaskSupportEntity))
282  {
283  Print("ScenarioFramework: Default Task support entity not found in the world, task won't be created!", LogLevel.ERROR);
284  return false;
285  }
287  return true;
288  }
289 
290  //------------------------------------------------------------------------------------------------
293  {
294  //If m_Task already exists, we are reiniting it, not creating new one
295  if (m_Task)
296  {
297  // We need to make sure that we have m_SlotTask to work with
298  if (!m_SlotTask)
299  m_SlotTask = m_Task.GetSlotTask();
300 
301  if (!m_SlotTask)
302  {
303  if (!m_aRandomlySpawnedChildren.IsEmpty())
305  else
306  m_SlotTask = GetSlotTask(m_aChildren);
307  }
308 
309  if (!m_SlotTask)
310  {
311  Print(string.Format("ScenarioFramework: %1 could not reinit task due to missing m_SlotTask!", GetOwner().GetName()), LogLevel.ERROR);
312  return;
313  }
314 
315  //Update task position
316  vector vOrigin;
317  if (m_bPlaceMarkerOnSubjectSlot && m_SlotTask)
318  vOrigin = m_SlotTask.GetOwner().GetOrigin();
319  else
320  vOrigin = GetOwner().GetOrigin();
321 
322  m_SupportEntity.MoveTask(vOrigin, m_Task.GetTaskID());
323  m_Task.RehookTaskAsset(m_Entity);
324 
325  if (m_SlotTask.GetIsTerminated() || m_bIsTerminated)
326  {
327  if (m_eLayerTaskState == SCR_TaskState.FINISHED)
328  {
329  m_bTaskResolvedBeforeLoad = true;
330  m_SlotTask.SetTaskResolvedBeforeLoad(true);
331  m_SupportEntity.FinishTask(m_Task);
332  }
333  else if (m_eLayerTaskState == SCR_TaskState.CANCELLED)
334  {
335  m_SlotTask.SetTaskResolvedBeforeLoad(true);
336  m_SupportEntity.FailTask(m_Task);
337  }
338  else if (m_eLayerTaskState == SCR_TaskState.REMOVED)
339  {
340  m_SlotTask.SetTaskResolvedBeforeLoad(true);
341  m_SupportEntity.CancelTask(m_Task.GetTaskID());
342  }
343 
344  SCR_EntityHelper.DeleteEntityAndChildren(m_SlotTask.GetSpawnedEntity());
345  }
346 
347  if (m_eLayerTaskState != SCR_TaskState.FINISHED)
348  m_Task.Init();
349 
350  return;
351  }
352 
353  if (!m_SlotTask)
354  {
355  Print(string.Format("ScenarioFramework: %1 could not init task due to missing m_SlotTask!", GetOwner().GetName()), LogLevel.ERROR);
356  return;
357  }
358 
359  if (SetSupportEntity() && SetTaskPrefab() && CreateTask())
360  {
361  SetupTask();
362  m_Task.SetLayerTask(this);
363 
364  m_SlotTask.OnTaskStateChanged(SCR_TaskState.OPENED);
365 
366  if (m_eLayerTaskState == SCR_TaskState.FINISHED)
367  {
368  m_bTaskResolvedBeforeLoad = true;
369  m_SlotTask.SetTaskResolvedBeforeLoad(true);
370  m_SupportEntity.FinishTask(m_Task);
371  }
372  else if (m_eLayerTaskState == SCR_TaskState.CANCELLED)
373  {
374  m_SlotTask.SetTaskResolvedBeforeLoad(true);
375  m_SupportEntity.FailTask(m_Task);
376  }
377  else if (m_eLayerTaskState == SCR_TaskState.REMOVED)
378  {
379  m_SlotTask.SetTaskResolvedBeforeLoad(true);
380  m_SupportEntity.CancelTask(m_Task.GetTaskID());
381  }
382 
383  if (m_SlotTask.GetIsTerminated() || m_bIsTerminated)
384  SCR_EntityHelper.DeleteEntityAndChildren(m_SlotTask.GetSpawnedEntity());
385  }
386  }
387 
388  //------------------------------------------------------------------------------------------------
389  protected bool CreateTask()
390  {
391  m_Task = SCR_ScenarioFrameworkTask.Cast(m_SupportEntity.CreateTask(this));
392  if (!m_Task)
393  {
394  Print(string.Format("ScenarioFramework: Creating of task %1 failed! Task manager refused to create it.", m_sTaskTitle), LogLevel.ERROR);
395  return false;
396  }
397  //TODO: make selection of the faction dynamic
398  array<Faction> aPlayableFactions = {};
399  SCR_Faction factionSelected;
400  FactionManager manager = GetGame().GetFactionManager();
401  if (!manager)
402  {
403  Print(string.Format("ScenarioFramework: Creating of task %1 failed! Faction manager doesn't exist", m_sTaskTitle), LogLevel.ERROR);
404  return false;
405  }
406 
407  manager.GetFactionsList(aPlayableFactions);
408  if (m_sFactionKey.IsEmpty())
409  m_sFactionKey = "US"; //set a default US one if none is set by user
410 
411  SCR_Faction testFaction = SCR_Faction.Cast(manager.GetFactionByKey(m_sFactionKey));
412 
413  foreach (Faction faction : aPlayableFactions)
414  {
415  if (!SCR_Faction.Cast(faction))
416  continue;
417 
418  if (SCR_Faction.Cast(faction).IsPlayable())
419  {
420  if (m_sFactionKey == "")
421  {
422  factionSelected = SCR_Faction.Cast(faction);
423  break;
424  }
425 
426  if (faction == testFaction)
427  {
428  factionSelected = SCR_Faction.Cast(faction);
429  break;
430  }
431  }
432  }
433 
434  if (!factionSelected)
435  {
436  Print(string.Format("ScenarioFramework: Creating of task %1 failed for %2! No playable faction available", m_sTaskTitle, GetOwner().GetName()), LogLevel.ERROR);
437  return false;
438  }
439 
440  m_Task.SetSlotTask(m_SlotTask);
441  m_SupportEntity.SetTargetFaction(m_Task, factionSelected);
442  vector vOrigin;
443  if (m_bPlaceMarkerOnSubjectSlot && m_SlotTask)
444  vOrigin = m_SlotTask.GetOwner().GetOrigin();
445  else
446  vOrigin = GetOwner().GetOrigin();
447 
448  m_SupportEntity.MoveTask(vOrigin, m_Task.GetTaskID());
449 
450  return true;
451  }
452 
453  //------------------------------------------------------------------------------------------------
454  protected void SetupTask()
455  {
456  //if title and description is provided, fill it in
457  if (!m_sTaskTitle.IsEmpty())
458  m_SupportEntity.SetTaskTitle(m_Task, m_sTaskTitle);
459 
460  if (!m_sTaskDescription.IsEmpty())
461  m_SupportEntity.SetTaskDescription(m_Task, GetTaskDescription());
462 
463  //if title and description is provided on the Task Subject, fill it in (overrides Layer Task)
464  if (m_SlotTask)
465  {
466  m_SupportEntity.SetSpawnedEntityName(m_Task, m_SlotTask.GetSpawnedEntityDisplayName());
467 
468  if (!m_SlotTask.GetTaskTitle().IsEmpty())
469  m_SupportEntity.SetTaskTitle(m_Task, m_SlotTask.GetTaskTitle());
470 
471  if (!m_SlotTask.GetTaskDescription().IsEmpty())
472  m_SupportEntity.SetTaskDescription(m_Task, m_SlotTask.GetTaskDescription());
473 
474  m_SupportEntity.SetTaskExecutionBriefing(m_Task, m_SlotTask.GetTaskExecutionBriefing());
475  m_Task.m_sTaskIntroVoiceline = m_SlotTask.m_sTaskIntroVoiceline;
476  }
477  else
478  {
479  Print(string.Format("ScenarioFramework - LayerTask: Task Subject not found doesn't exist for %1. Task won't be spawned!", GetOwner().GetName()), LogLevel.ERROR);
480  }
481 
482  s_OnTaskSetup.Invoke(m_Task);
483  Print(string.Format("ScenarioFramework: -> LayerTask: SlotTask %1 - generating task %2. Description: %3", m_SlotTask.GetOwner().GetName(), WidgetManager.Translate(m_Task.GetTitle()), string.Format(WidgetManager.Translate(m_Task.GetDescription(), WidgetManager.Translate(m_Task.GetSpawnedEntityName())))), LogLevel.NORMAL);
484  }
485 
486 #ifdef WORKBENCH
487  //------------------------------------------------------------------------------------------------
488  override void _WB_AfterWorldUpdate(IEntity owner, float timeSlice)
489  {
490  DrawDebugShape(m_bShowDebugShapesInWorkbench);
491  }
492 
493  //------------------------------------------------------------------------------------------------
494  override bool _WB_OnKeyChanged(IEntity owner, BaseContainer src, string key, BaseContainerList ownerContainers, IEntity parent)
495  {
496  if (key == "m_bShowDebugShapesInWorkbench")
497  DrawDebugShape(m_bShowDebugShapesInWorkbench);
498 
499  return false;
500  }
501 #endif
502 }
SetOverridenObjectDisplayName
void SetOverridenObjectDisplayName(string name)
Definition: SCR_ScenarioFrameworkLayerTask.c:88
SetLayerTaskState
void SetLayerTaskState(SCR_TaskState state)
Definition: SCR_ScenarioFrameworkLayerTask.c:58
SCR_ScenarioFrameworkActivationConditionBase
Definition: SCR_ScenarioFrameworkSlotBase.c:677
m_eActivationType
protected SCR_ScenarioFrameworkEActivationType m_eActivationType
Definition: SCR_ScenarioFrameworkLayerBase.c:43
SCR_EntityHelper
Definition: SCR_EntityHelper.c:1
GetName
string GetName()
Definition: SCR_ScenarioFrameworkLayerBase.c:85
m_bInitiated
protected bool m_bInitiated
Definition: SCR_ScenarioFrameworkLayerBase.c:72
EntityEditorProps
enum EQueryType EntityEditorProps(category:"GameScripted/Sound", description:"THIS IS THE SCRIPT DESCRIPTION.", color:"0 0 255 255")
Definition: SCR_AmbientSoundsComponent.c:12
m_Task
SCR_EditableTaskComponentClass m_Task
Editable SCR_BaseTask.
Init
override void Init(SCR_ScenarioFrameworkArea area=null, SCR_ScenarioFrameworkEActivationType activation=SCR_ScenarioFrameworkEActivationType.SAME_AS_PARENT)
Definition: SCR_ScenarioFrameworkLayerTask.c:192
GetOriginalTaskDescription
string GetOriginalTaskDescription()
Definition: SCR_ScenarioFrameworkLayerTask.c:102
DynamicReinit
override void DynamicReinit()
Definition: SCR_ScenarioFrameworkLayerTask.c:143
DrawDebugShape
protected void DrawDebugShape(bool draw)
Definition: SCR_ScenarioFrameworkLayerBase.c:829
RestoreToDefault
override void RestoreToDefault(bool includeChildren=false, bool reinitAfterRestoration=false)
Definition: SCR_ScenarioFrameworkLayerTask.c:126
GetOnAllChildrenSpawned
ScriptInvokerScenarioFrameworkLayer GetOnAllChildrenSpawned()
Definition: SCR_ScenarioFrameworkLayerBase.c:450
GetGame
ArmaReforgerScripted GetGame()
Definition: game.c:1424
GetTaskTitle
string GetTaskTitle()
Definition: SCR_ScenarioFrameworkLayerTask.c:95
m_Area
protected SCR_ScenarioFrameworkArea m_Area
Definition: SCR_ScenarioFrameworkLayerBase.c:64
GetLayerTaskResolvedBeforeLoad
bool GetLayerTaskResolvedBeforeLoad()
Definition: SCR_ScenarioFrameworkLayerTask.c:51
SpawnChildren
void SpawnChildren(bool previouslyRandomized=false)
Definition: SCR_ScenarioFrameworkLayerBase.c:516
SCR_ScenarioFrameworkLayerTaskClass
Definition: SCR_ScenarioFrameworkLayerTask.c:2
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition: SCR_RespawnBriefingComponent.c:17
m_Entity
enum EAITargetInfoCategory m_Entity
GetTask
SCR_ScenarioFrameworkTask GetTask()
Definition: SCR_ScenarioFrameworkLayerTask.c:65
m_sFactionKey
protected FactionKey m_sFactionKey
Definition: SCR_ScenarioFrameworkLayerBase.c:25
m_aRandomlySpawnedChildren
protected ref array< SCR_ScenarioFrameworkLayerBase > m_aRandomlySpawnedChildren
Definition: SCR_ScenarioFrameworkLayerBase.c:58
m_bExcludeFromDynamicDespawn
protected bool m_bExcludeFromDynamicDespawn
Definition: SCR_ScenarioFrameworkLayerBase.c:52
GetGameMode
SCR_BaseGameMode GetGameMode()
Definition: SCR_BaseGameModeComponent.c:15
Attribute
SCR_ScenarioFrameworkLayerTaskClass SCR_ScenarioFrameworkLayerBaseClass Attribute(desc:"Name of the task in list of tasks", category:"Task")
Definition: SCR_ScenarioFrameworkLayerTask.c:8
SetSupportEntity
protected bool SetSupportEntity()
Definition: SCR_ScenarioFrameworkLayerTask.c:279
SetTaskPrefab
protected bool SetTaskPrefab()
Definition: SCR_ScenarioFrameworkLayerTask.c:248
m_bDynamicallyDespawned
protected bool m_bDynamicallyDespawned
Definition: SCR_ScenarioFrameworkLayerBase.c:74
SCR_ScenarioFrameworkArea
Definition: SCR_ScenarioFrameworkArea.c:24
m_aChildren
protected ref array< SCR_ScenarioFrameworkLayerBase > m_aChildren
Definition: SCR_ScenarioFrameworkLayerBase.c:57
DynamicDespawn
override void DynamicDespawn(SCR_ScenarioFrameworkLayerBase layer)
Definition: SCR_ScenarioFrameworkLayerTask.c:149
GetTaskManager
SCR_BaseTaskManager GetTaskManager()
Definition: SCR_BaseTaskManager.c:7
GetTaskDescription
string GetTaskDescription()
Definition: SCR_ScenarioFrameworkLayerTask.c:109
GetTaskPrefab
ResourceName GetTaskPrefab()
Definition: SCR_ScenarioFrameworkLayerTask.c:72
SCR_ScenarioFrameworkTaskSupportEntity
Definition: SCR_ScenarioFrameworkTaskSupportEntity.c:8
GetOwner
IEntity GetOwner()
Owner entity of the fuel tank.
Definition: SCR_FuelNode.c:128
SetupTask
protected void SetupTask()
Definition: SCR_ScenarioFrameworkLayerTask.c:454
m_ParentLayer
protected SCR_ScenarioFrameworkLayerBase m_ParentLayer
Definition: SCR_ScenarioFrameworkLayerBase.c:65
Faction
Definition: Faction.c:12
AfterAllChildrenSpawned
void AfterAllChildrenSpawned(SCR_ScenarioFrameworkLayerBase layer)
Definition: SCR_ScenarioFrameworkLayerBase.c:779
OnTaskStateChanged
void OnTaskStateChanged(SCR_TaskState previousState, SCR_TaskState newState)
Definition: SCR_ScenarioFrameworkLayerTask.c:234
m_bIsTerminated
protected bool m_bIsTerminated
Definition: SCR_ScenarioFrameworkLayerBase.c:75
SCR_TaskState
SCR_TaskState
Definition: SCR_TaskState.c:2
InitTask
void InitTask(SCR_ScenarioFrameworkLayerBase layer)
Definition: SCR_ScenarioFrameworkLayerTask.c:292
SCR_ScenarioFrameworkLayerBase
void SCR_ScenarioFrameworkLayerBase(IEntityComponentSource src, IEntity ent, IEntity parent)
Definition: SCR_ScenarioFrameworkLayerBase.c:875
GetChildren
void GetChildren(out array< SCR_ScenarioFrameworkLayerBase > children)
Definition: SCR_ScenarioFrameworkLayerBase.c:359
m_aSpawnedEntities
protected ref array< IEntity > m_aSpawnedEntities
Definition: SCR_ScenarioFrameworkLayerBase.c:62
SetSlotTask
void SetSlotTask(SCR_ScenarioFrameworkSlotTask slotTask)
Definition: SCR_ScenarioFrameworkLayerTask.c:266
CreateTask
protected bool CreateTask()
Definition: SCR_ScenarioFrameworkLayerTask.c:389
SCR_ScenarioFrameworkTask
Definition: SCR_ScenarioFrameworkTask.c:7
GetSlotTask
SCR_ScenarioFrameworkSlotTask GetSlotTask()
Definition: SCR_ScenarioFrameworkLayerTask.c:273
GetOverridenObjectDisplayName
string GetOverridenObjectDisplayName()
Definition: SCR_ScenarioFrameworkLayerTask.c:80
GetTaskType
SCR_ESFTaskType GetTaskType()
Definition: SCR_ScenarioFrameworkLayerTask.c:119
SCR_Faction
Definition: SCR_Faction.c:6
SCR_ScenarioFrameworkLayerBaseClass
Definition: SCR_ScenarioFrameworkLayerBase.c:2
SetFactionKey
protected void SetFactionKey(FactionKey factionKey)
Definition: SCR_ScenarioFrameworkLayerBase.c:242
m_aActivationConditions
protected ref array< ref SCR_ScenarioFrameworkActivationConditionBase > m_aActivationConditions
Definition: SCR_ScenarioFrameworkLayerBase.c:46
category
params category
Definition: SCR_VehicleDamageManagerComponent.c:180