Author: shk
Author Website:

Requirements: No addons required

Version: 0.33

Short description: Taskmaster is an attempt to have a more flexible way to create and update tasks in your mission.

Date: 2011-06-14 20:41


Comments: (0)
Rating:



 





Taskmaster 2
by
Shuko


Description:
Taskmaster is an attempt to have a more flexible way to create and update tasks in your mission.


Features:
- The script is server driven; all task additions and updates are called on server side. All changes are broadcasted to players in one array variable. This enables more work to be done only on server, since most of AI-related things happen there anyway. This way the number of triggers placed goes down, as they are unnecessary for clients (players). Number of publicvariabled variables goes down also.
- Only one eventhandler is created instead of one per task.
- As tasks are kept in an array, no global variable is created for each task.
- No "call compile format" type of coding.
- Variables used to check for task states and statuses are replaced with functions, cutting down number of global variables.
- Usage simplified; briefings are easier to create, some parameters are made optional.


Installation:
It comes with a mission as a demo version. Extract the folder to your ArmA2\other Profiles\Yournick\Missions and load it in the editor.


Usage:
You can find an example mission here.
Open the included shk_taskmaster.sqf for detailed instructions.


Change log:
v0.33
- Added: Now it's possible to add marker texts.

v0.32
- Added: Now it's possible to define multiple markers for a task.

v0.31
- Fixed: Change in v0.29 broke task state update for JIPs. States were being overwritten (reseted) by setcurrenttask command.

v0.30
- Added new parameter:
- Destination (object/position/marker)

v0.29
- Added: Last task to be added will be made current task automatically.

v0.28
- Fixed: Markers of completed tasks were not hidden for JIPs.

v0.27
- Fixed: Attempt to prevent double tasks from being added when the add parameter is used with the update function.

v0.26
- Added: Script can be called without parameters, just to load the functions for later use.

v0.25
- Changed: 1.55 patch changed note addition order to same as tasks. Code changed to keep the old way of adding them.

v0.24
- Changed: Marker handling. Hiding/showing has been removed and replaced with local marker creation.

v0.23
- Added: Support for Single Player missions. Mainly to enable tasks in the SP mission editor preview.

v0.22
- Changed: Made add, assign and update functions useable in triggers without getting undefined variable error on clients.

v0.21
- Changed: Script can now be started with call as well as execvm.

v0.20
- Added: Support for non-dedicated servers.

v0.13
- Added: SHK_Taskmaster_initDone variable will be set to true once tasks are processed and functions loaded.

v0.11
- Fixed: Missed !isnull player check, which caused problems in marker handling.



Forum topic:
- BI forums




Enable javascript to be able to download from Armaholic please!



Tags: Taskmaster