BIS fnc taskChildren: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|s1= +" to "|s1= ") |
(Fixed return value) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
|gr1= Tasks | |gr1= Tasks | ||
|arg= global|eff= global | |arg= global | ||
|eff= global | |||
|descr= | |descr= Return a task's sub-tasks. {{Feature|informative| See [[Arma 3: Task Framework]] for more information.}} | ||
|s1= taskID call [[BIS_fnc_taskChildren]] | |s1= taskID call [[BIS_fnc_taskChildren]] | ||
Line 14: | Line 15: | ||
|p1= taskID: [[String]] - ID of the task | |p1= taskID: [[String]] - ID of the task | ||
|r1=[[Array]] - | |r1= [[Array]] or [[Object]] - array with sub tasks or [[objNull]] if parent task ID does not exist | ||
|x1= < | |x1= <sqf>"task_1" call BIS_fnc_taskChildren;</sqf> | ||
|seealso= | |seealso= [[Arma 3: Task Framework]] | ||
}} | }} |
Latest revision as of 18:10, 21 March 2024
Description
Syntax
- Syntax:
- taskID call BIS_fnc_taskChildren
- Parameters:
- taskID: String - ID of the task
- Return Value:
- Array or Object - array with sub tasks or objNull if parent task ID does not exist
Examples
- Example 1:
Additional Information
- See also:
- Arma 3: Task Framework
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