removeSimpleTask: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "\{\{Feature *\| *Informative *\| ([^↵]+) *\}\}" to "{{Feature|informative|$1}}")
 
(4 intermediate revisions by the same user not shown)
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
Line 26: Line 26:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[[player]] [[removeSimpleTask]] _tskKillSpongebob</code>
|x1= <sqf>player removeSimpleTask _tskKillSpongebob;</sqf>


|seealso= [[Tasks]] [[createSimpleTask]] [[setSimpleTaskDescription]] [[setSimpleTaskDestination]] [[setTaskState]] [[setTaskResult]] [[taskState]]
|seealso= [[Tasks]] [[createSimpleTask]] [[setSimpleTaskDescription]] [[setSimpleTaskDestination]] [[setTaskState]] [[setTaskResult]] [[taskState]]
}}
}}

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