removeSimpleTask

From Bohemia Interactive Community
Revision as of 00:13, 14 June 2021 by Lou Montana (talk | contribs) (Text replacement - "\| *arma2 * * *\| *([0-1]\.[0-9]{2}) * (\| *.[^a])" to "|game1= arma2 |version1= $1 |game2= arma2oa |version2= 1.50 |game3= tkoh |version3= 1.00 |game4= arma3 |version4= 0.50 $2")
Jump to navigation Jump to search
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:
TaskscreateSimpleTasksetSimpleTaskDescriptionsetSimpleTaskDestinationsetTaskStatesetTaskResulttaskState

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