|
| void | PeriodicalCheck () |
| |
| override void | SetTaskCompletionType (EEditorTaskCompletionType newTaskCompletionType) |
| | Set the task completion type.
|
| |
| void | SCR_MoveTask (IEntitySource src, IEntity parent) |
| |
| void | ~SCR_MoveTask () |
| |
| void | SetTarget (SCR_EditableEntityComponent target) |
| | Sets target of current task.
|
| |
| SCR_EditableEntityComponent | GetTarget () |
| | Returns current target.
|
| |
| void | SetLocationName (LocalizedString locationName) |
| | Set name of location to which this task relates to.
|
| |
| string | GetLocationName () |
| | Get name of location to which this task relates to.
|
| |
| ETaskTextType | GetTextType () |
| | Get type of custom texts this task should use.
|
| |
| int | GetTextIndex () |
| | Get index of custom text from SCR_TextsTaskManagerComponent.
|
| |
| void | SetTextIndex (int index) |
| | Set index of custom text from SCR_TextsTaskManagerComponent.
|
| |
| EEditorTaskCompletionType | GetTaskCompletionType () |
| | Get the task completion type.
|
| |
| SCR_UIDescription | GetInfo () |
| | Get UI info of custom text for this task.
|
| |
| override string | GetTitle () |
| | Return the title of this task.
|
| |
| override void | SetTitleWidgetText (notnull TextWidget textWidget, string taskText) |
| |
| override void | SetDescriptionWidgetText (notnull TextWidget textWidget, string taskText) |
| |
| void | ShowTaskNotification (ENotification taskNotification, bool SendOverNetwork=false) |
| | Show notification related to the task state.
|
| |
| override void | Create (bool showMsg=true) |
| | When the task is created.
|
| |
| override void | Finish (bool showMsg=true) |
| | Marks the task as finished.
|
| |
| override void | Fail (bool showMsg=true) |
| | Fails the task.
|
| |
| override void | Cancel (bool showMsg=true) |
| |
| void | OnDelete () |
| |
| bool | NotifyAssignment () |
| |
| bool | NotifyUnassign () |
| |
| void | DoNotifyAssignment (int assigneeID) |
| |
| void | DoNotifyUnassign (int assigneeID) |
| |
| SCR_ERadioMsg | GetAssignMessage () |
| |
| SCR_ERadioMsg | GetUnassignMessage () |
| |
| ResourceName | GetMapUIElementResourceName () |
| |
| string | GetMapDescriptorText () |
| |
| void | OnMapOpen (MapConfiguration config) |
| |
| void | OnHoverItem (MapItem item) |
| |
| string | GetFullTaskIconName () |
| |
| string | GetTaskMapIconName () |
| |
| string | GetTaskListIconNamePrefix () |
| |
| string | GetTaskListIconName () |
| |
| string | GetTaskListTaskTitle () |
| |
| string | GetMajorModifier () |
| |
| string | GetTaskListTaskText () |
| |
| Widget | GetParentWidget (notnull Widget rootWidget) |
| |
| ResourceName | GetIconImageset () |
| |
| void | SetHUDIcon () |
| |
| void | SetWidgetIcon (ImageWidget image) |
| |
| void | ClearWidgetIcon () |
| | Remove icon assigned to this task.
|
| |
| void | UpdateMapTaskIcon () |
| |
| void | UpdatePriorityMapTaskIcon () |
| |
| bool | AssignTaskToAI (AIAgent agent) |
| |
| string | GetIconName () |
| |
| ResourceName | GetImageSetName () |
| |
| string | GetIconSuffix () |
| |
| string | GetTitleIconString () |
| |
| string | GetTitleText () |
| |
| Widget | GenerateTaskDescriptionUI (notnull Widget rootWidget, array< Widget > widgets) |
| |
| void | UpdateTaskListAssignee () |
| |
| void | OnAssigneeKilled () |
| |
| void | CreateMapUIIcon () |
| |
| Faction | GetTargetFaction () |
| | Returns the faction that should complete this task.
|
| |
| void | SetTargetFaction (Faction targetFaction) |
| | Sets the faction that should complete this task.
|
| |
| string | GetFinishText () |
| | Returns a text informing about the task being finished.
|
| |
| bool | IsAssigned () |
| | Returns whether the task is assigned to someone or not.
|
| |
| string | GetAllAssigneeNamesString () |
| | Returns a string with all the assignees on this task in following format: "PlayerA, PlayerB, ..., PlayerN".
|
| |
| void | CheckAssigneeTimeout () |
| | Checks all the assignees for timeout, if their time is up, they get unassigned.
|
| |
| void | SetLastAssigneeAddedTimestamp (float timestamp) |
| |
| void | SetIndividual (bool individual) |
| | Set this task as task for an individual.
|
| |
| bool | IsIndividual () |
| | Returns whether this task is for an individual or not.
|
| |
| void | SetIsPriority (bool isPrio) |
| |
| bool | IsPriority () |
| |
| bool | IsAssignable () |
| |
| bool | CanBeAssigned (out SCR_ECannotAssignReasons reason, int playerID=-1) |
| | Returns whether this task can be assigned to the player with the given player ID If playerID == -1, the local player is used as the target.
|
| |
| float | GetLastAssigneeAddedTimestamp () |
| | Returns the timestamp of last add assignee event.
|
| |
| float | GetAssigneeTimeLeft () |
| | Returns time left the assignee of this task has to finish it, after that they get automatically unassigned.
|
| |
| void | SetTaskID (int taskID) |
| | Sets an ID of this task.
|
| |
| int | GetTaskID () |
| | Returns an ID of this task.
|
| |
| SCR_TaskState | GetTaskState () |
| | Returns the state of this task.
|
| |
| void | SetTitle (string title) |
| |
| void | SetDescription (string description) |
| |
| string | GetDescription () |
| | Return the description of this task.
|
| |
| SCR_BaseTaskExecutor | GetAssignee () |
| | Returns the first assignee of this task.
|
| |
| int | GetAssignees (out array< SCR_BaseTaskExecutor > assignees) |
| | Returns assignees of this task.
|
| |
| int | GetAssigneeCount () |
| |
| void | Remove () |
| | Marks the task as removed.
|
| |
| void | RemoveAllAssignees () |
| | Removes every assignee from this task.
|
| |
| void | RemoveAssignee (SCR_BaseTaskExecutor assignee, SCR_EUnassignReason reason) |
| | Removes an assignee, specified as a parameter, from this task.
|
| |
| void | AddAssignee (SCR_BaseTaskExecutor assignee, float timestamp) |
| | Adds a new assignee, specified as a parameter, to this task.
|
| |
| void | InitOnSpawn (int pid, IEntity ent) |
| |
| void | ToggleHUDIcon (bool show, bool fade=true) |
| |
| void | UpdateHUDIcon () |
| |
| Widget | GetTaskIconkWidget () |
| |
| void | SetTaskIconWidget (Widget w) |
| |
| void | SetState (SCR_TaskState state) |
| | Changes the state of this task to the parameter.
|
| |
| void | RegisterTaskUpdate (SCR_ETaskEventMask TaskEventMask) |
| | Registers task event mask for OnTaskUpdate.
|
| |
| void | Serialize (ScriptBitWriter writer) |
| |
| void | Deserialize (ScriptBitReader reader) |
| |
| override void | EOnInit (IEntity owner) |
| |
| void | SCR_BaseTask (IEntitySource src, IEntity parent) |
| |
| void | ~SCR_BaseTask () |
| |