removeSimpleTask: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. ArmA2 classification)
 
m (Text replacement - "\{\{Feature *\| *Informative *\| ([^↵]+) *\}\}" to "{{Feature|informative|$1}}")
 
(57 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{RV|type=command


[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
|game1= arma2
|version1= 1.00
 
|game2= arma2oa
|version2= 1.50
 
|game3= tkoh
|version3= 1.00
 
|game4= arma3
|version4= 0.50
 
|gr1= Briefing
 
|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.}}
 
|s1= person [[removeSimpleTask]] task
 
|p1= person: [[Object]]
 
|p2= task: [[Task]]
 
|r1= [[Nothing]]
 
|x1= <sqf>player removeSimpleTask _tskKillSpongebob;</sqf>
 
|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