Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_MoveTaskSupportEntity.c
Go to the documentation of this file.
1 //------------------------------------------------------------------------------------------------
2 [EntityEditorProps(category: "GameScripted/Tasks", description: "Move task support entity.", color: "0 0 255 255")]
4 {
5 };
6 
7 //------------------------------------------------------------------------------------------------
9 {
10  //------------------------------------------------------------------------------------------------
11  void CreateMoveTask(vector targetPosition)
12  {
13  if (!GetTaskManager())
14  return;
15 
16  SCR_MoveTask moveTask = SCR_MoveTask.Cast(CreateTask());
17  if (!moveTask)
18  return;
19 
20  MoveTask(targetPosition, moveTask.GetTaskID());
21  }
22 };
EntityEditorProps
enum EQueryType EntityEditorProps(category:"GameScripted/Sound", description:"THIS IS THE SCRIPT DESCRIPTION.", color:"0 0 255 255")
Definition: SCR_AmbientSoundsComponent.c:12
SCR_EditorTaskSupportEntityClass
Definition: SCR_EditorTaskSupportEntity.c:3
SCR_MoveTaskSupportEntity
Definition: SCR_MoveTaskSupportEntity.c:8
GetTaskManager
SCR_BaseTaskManager GetTaskManager()
Definition: SCR_BaseTaskManager.c:7
SCR_MoveTaskSupportEntityClass
Definition: SCR_MoveTaskSupportEntity.c:3
SCR_MoveTask
Definition: SCR_MoveTask.c:5
SCR_EditorTaskSupportEntity
Definition: SCR_EditorTaskSupportEntity.c:8
CreateTask
protected bool CreateTask()
Definition: SCR_ScenarioFrameworkLayerTask.c:389
category
params category
Definition: SCR_VehicleDamageManagerComponent.c:180