Creates and adds a task to the given stage.
Creates and adds a task to the given stage.
1 project project
the project to add to.
2 string taskTypeID
the ID of the registered taskTypeData.
3 number stage
the stage to insert the task to.
4 string taskID
the task type to create. (ie. "game_task", "engine_task", "project_task", etc.). Will default to the type specified on the taskTypeData if none is given.
1 task
the newly created task object.