lexx 1390 Posted July 24, 2013 (edited) I feel a little stupid right now, so I'll have to create a thread... This is how I add a generic task: [player, localize "tskTarget1", [localize "TaskText_1", localize "tskTarget1", "stuff"], markerPos "m_task1"] call BIS_fnc_taskCreate; So far so good. Now, in the support showcase mission, I can see that there are sub-tasks to the main task, and I am also very sure that I've read something about this already. Still, I just cannot figure out how this was done. Anyone can offer any help to share some light on it for me? Edited July 24, 2013 by Lexx Share this post Link to post Share on other sites
bardosy 158 Posted September 19, 2013 Is it even possible to create a subtask if I created the main tasks with BIS_fnc_taskCreate; ? Or only the task module could create sub tasks? Share this post Link to post Share on other sites
Larrow 2822 Posted September 19, 2013 Parameters for TaskCreate 0: BOOL or OBJECT or GROUP or SIDE or ARRAY - Task owner(s) 1: STRING or ARRAY - Task name or array in the format [task name, parent task name] 2: ARRAY - Task description in the format ["description", "title", "marker"] 3: OBJECT or ARRAY or STRING - Task destination 4: BOOL or NUMBER or STRING - Task state (or true to set as current) 5: NUMBER - Task priority (when automatically selecting a new current task, higher priority is selected first) Param 1 needs to be an array of [task name, parent task name] to create a child/sub task with BIS_fnc_taskCreate Share this post Link to post Share on other sites
bardosy 158 Posted September 19, 2013 @Larrow: Thank you!!! It works fine. Share this post Link to post Share on other sites
reymasofashborne@gmail.com 7 Posted September 12, 2015 Can creating sub-tasks be done just by syncing or grouping tasks together? Share this post Link to post Share on other sites
noahphense 10 Posted August 16, 2016 Can creating sub-tasks be done just by syncing or grouping tasks together? I would love to be able to create a subtask without calling a script... Share this post Link to post Share on other sites
killzone_kid 1331 Posted August 16, 2016 I would love to be able to create a subtask without calling a script... Dooeet! https://community.bistudio.com/wiki/createSimpleTask Share this post Link to post Share on other sites