removeSimpleTask: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>")
m (Text replacement - "\{\{Feature *\| *Informative *\| ([^↵]+) *\}\}" to "{{Feature|informative|$1}}")
 
Line 16: Line 16:


|descr= Remove a simple task from the list of simple tasks.
|descr= Remove a simple task from the list of simple tasks.
{{Feature | Informative | If the [[Task]] to be removed is a child to some parent task and at the same time the parent to some child task, the child of this task gets orphaned and is listed in the root of Tasks tree (Tasks menu), retaining tree structure of its children.}}
{{Feature|informative|If the [[Task]] to be removed is a child to some parent task and at the same time the parent to some child task, the child of this task gets orphaned and is listed in the root of Tasks tree (Tasks menu), retaining tree structure of its children.}}


|s1= person [[removeSimpleTask]] task
|s1= person [[removeSimpleTask]] task

Latest revision as of 18:11, 15 March 2024

Hover & click on the images for description

Description

Description:
Remove a simple task from the list of simple tasks.
If the Task to be removed is a child to some parent task and at the same time the parent to some child task, the child of this task gets orphaned and is listed in the root of Tasks tree (Tasks menu), retaining tree structure of its children.
Groups:
Briefing

Syntax

Syntax:
person removeSimpleTask task
Parameters:
person: Object
task: Task
Return Value:
Nothing

Examples

Example 1:
player removeSimpleTask _tskKillSpongebob;

Additional Information

See also:
Tasks createSimpleTask setSimpleTaskDescription setSimpleTaskDestination setTaskState setTaskResult taskState

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note