![]() ![]() In MP environment things get complicated. In SP environment everything is very easy as task data and execution are all handled on one place and there is no needs for synchronization. Handling Tasks in MP Environmentīeing said, task framework can be used in both SP and MP environments. Check the function headers in the function viewer from inside of the game for detailed information about function syntax and parameters. ![]() In normal circumstances the setter and getter functions are all is needed to create and manage tasks. Can be called directly, however using the setter functions is recommended.įunction that locally creates or updates task data. Returns engine task associated with the task idĬreates and updates task data and automatically calls BIS_fnc_setTaskLocal. Returns variable under which task is stored in the game (based on task id) Special getter functions that are used by the task framework Return all tasks that given unit has (in any state) Returns true if task exists (was created and not deleted) Returns task title, description and marker texts Returns true if task is "SUCCEEDED", "FAILED" or "CANCELED" Removes task from given target, if no one has the task, task is removed from the frameworkįunctions for retrieving information about tasks Sets task title, description and marker texts The whole task framework consists of multiple functions that can be split into several categories according to their functionality and purpose:įunctions for creating and updating tasks their data It’s main goal is to provide solid interface for creating, updating and managing tasks in both environments and fully automatize synchronization in MP environment. Task framework is a complex scripted system for handling tasks in both singleplayer and multiplayer environment. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |