taskParent: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma2 |Game name=
| arma2 |Game name=
Line 9: Line 8:


|1.00|Game version=
|1.00|Game version=
____________________________________________________________________________________________


| Returns the parent task of the specified task. |DESCRIPTION=
| Returns the parent task of the specified task. |DESCRIPTION=
____________________________________________________________________________________________


| '''taskParent''' task |SYNTAX=
| '''taskParent''' task |SYNTAX=
Line 27: Line 24:
|x1= <code>_parent = [[taskParent]] "someTask";</code>|EXAMPLE1=  
|x1= <code>_parent = [[taskParent]] "someTask";</code>|EXAMPLE1=  


____________________________________________________________________________________________


| [[taskChildren]] |SEEALSO=  
| [[taskChildren]] |SEEALSO=  


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 03:56, 17 January 2021

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

Notes

Bottom Section