Author: shk
Author Website:

Requirements: No addons required

Version: 0.44

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

Date: 2015-06-21 20:55


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 / Usage:
Find detailed instructions in the release thread: http://forums.bistudio.com/showthread.php?160974-SHK_Taskmaster


Notes:
I still don't have time or motivation for the game. So, I have not tested this script in A3 myself. However, I will do my best to make this work if there are bugs/changes needed.
I'm sure there are something to fix, add and change. Don't be afraid to ask for instructions, give feedback or report bugs.


Credits & Thanks:
Author: Shuko
Contributors: cuel, galzohar, zuff


Changelog:
v0.44
- Added: An array can now be used as a condition.

v0.43
- Added: Using "assigned" task state will automatically set that task as current task. Use "created" to avoid that.

v0.42
- Levrex contributed a function to check non-BIS factions.

v0.41
- now with Alwarren's isCompleted function.

v0.40
- Uploaded version with Fat_Lurch's fix for the marker text.

v0.39
- Added: More marker options.

v0.38
- Added: SHK_Taskmaster_isCompleted now takes multiple tasks are parameter. Also, added SHK_Taskmaster_areCompleted as a wrapper function.
- Changed: Some code cleaning.

v0.37
- Changed: Task creation order was reversed in Arma 2. It was changed in Arma 3. Changed the order in script to be correct with A3. Automatic current task assignment was removed, use the SHK_Taskmaster_setCurrentLocal.

v0.36
- small addition to the script.

v0.35
- Changed: Faction faction list to A3.



Forum topic:
- BI forums




Enable javascript to be able to download from Armaholic please!



Tags: No tags