taskParent: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "\| *p([0-9]+) *=([^↵]+) -↵" to "|p$1=$2")
m (fix example)
 
Line 22: Line 22:
|r1= [[Task]]
|r1= [[Task]]


|x1= <sqf>_parent = taskParent "someTask";</sqf>
|x1= <sqf>_parent = taskParent someTask;</sqf>


|seealso= [[taskChildren]]
|seealso= [[taskChildren]]
}}
}}

Latest revision as of 23:43, 7 October 2025

Hover & click on the images for description

Description

Description:
Returns the parent task of the specified task.
Groups:
Briefing

Syntax

Syntax:
taskParent task
Parameters:
task: Task
Return Value:
Task

Examples

Example 1:
_parent = taskParent someTask;

Additional Information

See also:
taskChildren

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