Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_CampaignTaskSupportEntity Interface Reference
Inheritance diagram for SCR_CampaignTaskSupportEntity:
SCR_CampaignBaseTaskSupportEntity SCR_BaseTaskSupportEntity

Public Member Functions

SCR_CampaignTask GetTask (SCR_CampaignMilitaryBaseComponent targetBase, Faction targetFaction, SCR_CampaignTaskType type)
 Returns the found task if it exists.
 
void GenerateCaptureTasks (notnull SCR_CampaignMilitaryBaseComponent base)
 Server side Called after a new base has been captured or a mobile HQ deployed Creates capture tasks for small, major and main bases in newly gained range.
 
void SetTaskType (notnull SCR_CampaignTask task, SCR_CampaignTaskType type)
 
void RPC_SetTaskType (int taskID, SCR_CampaignTaskType type)
 
- Public Member Functions inherited from SCR_CampaignBaseTaskSupportEntity
void RPC_SetTargetBase (int taskID, int baseID)
 
void OnTaskUpdate (SCR_BaseTask task)
 
void SetTargetBase (notnull SCR_CampaignBaseTask task, notnull SCR_CampaignMilitaryBaseComponent base)
 
override void EOnInit (IEntity owner)
 
- Public Member Functions inherited from SCR_BaseTaskSupportEntity
void SetTargetFaction (notnull SCR_BaseTask task, notnull Faction faction)
 
void RPC_SetTargetFaction (int taskID, int factionIndex)
 
SCR_BaseTask CreateTask ()
 
void Initialize ()
 
void OnTaskListOpen (notnull SCR_UITaskManagerComponent uiTaskManagerComponent)
 
ResourceName GetTaskDescriptionWidgetResource ()
 
ResourceName GetResourceName ()
 
Resource GetTaskPrefab ()
 
void MoveTask (vector newPosition, int taskID)
 
void RPC_MoveTask (int taskID, vector newPosition)
 
void AssignTask (notnull SCR_BaseTask task, notnull SCR_BaseTaskExecutor assignee, bool forced=false)
 
void RPC_AssignTask (int playerID, int taskID, float timestamp, bool forced)
 Assigns a task on clients.
 
void CancelTask (int taskID)
 
void FinishTask (notnull SCR_BaseTask task)
 
void FailTask (notnull SCR_BaseTask task)
 
void UnassignTask (notnull SCR_BaseTask task, notnull SCR_BaseTaskExecutor assignee, SCR_EUnassignReason reason)
 
void RPC_UnassignTask (int taskID, int playerID, SCR_EUnassignReason reason)
 Assigns a task on clients.
 
void SetTaskState (notnull SCR_BaseTask task, SCR_TaskState state)
 
void RPC_SetTaskState (int taskID, SCR_TaskState state)
 
void SetTaskDescription (notnull SCR_BaseTask task, string description)
 
void RPC_SetTaskDescription (int taskID, string description)
 
void SetTaskTitle (notnull SCR_BaseTask task, string title)
 
void RPC_SetTaskTitle (int taskID, string title)
 
void OnMapOpen (MapConfiguration config)
 
void SCR_BaseTaskSupportEntity (IEntitySource src, IEntity parent)
 
void ~SCR_BaseTaskSupportEntity ()
 

Protected Member Functions

SCR_CampaignTask CreateNewCampaignTask (SCR_CampaignTaskType type, notnull SCR_CampaignMilitaryBaseComponent base, notnull Faction faction)
 Creates a new conflict task.
 
- Protected Member Functions inherited from SCR_BaseTaskSupportEntity
void RPC_CancelTask (int taskID)
 
void RPC_FinishTask (int taskID)
 
void RPC_FailTask (int taskID)
 
void RegisterContextualMenuCallbacks ()
 

Additional Inherited Members

- Protected Attributes inherited from SCR_BaseTaskSupportEntity
ResourceName m_sTaskDescriptionWidgetResource
 
ResourceName m_sTaskPrefab
 

Member Function Documentation

◆ CreateNewCampaignTask()

SCR_CampaignTask SCR_CampaignTaskSupportEntity.CreateNewCampaignTask ( SCR_CampaignTaskType type,
notnull SCR_CampaignMilitaryBaseComponent base,
notnull Faction faction )
protected

Creates a new conflict task.

◆ GenerateCaptureTasks()

void SCR_CampaignTaskSupportEntity.GenerateCaptureTasks ( notnull SCR_CampaignMilitaryBaseComponent base)

Server side Called after a new base has been captured or a mobile HQ deployed Creates capture tasks for small, major and main bases in newly gained range.

◆ GetTask()

SCR_CampaignTask SCR_CampaignTaskSupportEntity.GetTask ( SCR_CampaignMilitaryBaseComponent targetBase,
Faction targetFaction,
SCR_CampaignTaskType type )

Returns the found task if it exists.

◆ RPC_SetTaskType()

void SCR_CampaignTaskSupportEntity.RPC_SetTaskType ( int taskID,
SCR_CampaignTaskType type )

◆ SetTaskType()

void SCR_CampaignTaskSupportEntity.SetTaskType ( notnull SCR_CampaignTask task,
SCR_CampaignTaskType type )

The documentation for this interface was generated from the following file: