Thanks for the update Deadfast, nice work!
To aid my own laziness with the development of a few new multiplayer missions, I have finished developing my LazyTasks script. If you don't mind, I have linked below a link to the script.
LazyTasks, for MultiTask
If anyone else is looking for simple and/or lazy creation of tasks with one line of code, this might interest you. I figure this might be of use for amateur mission makers or scripters looking to use tasks with the minimal of fuss. It eliminates the need to get involved with all the complexities of the code and the various tasks commands.
Particularly, a certain individual who derailed this thread and had a fit of frustraton may be the ideal target audience...
For example, using the script you can type out your task information in the stringtable file using your favourite text editor and then with ONE command:
LAZY TASKS script
- An easy 'MultiTask' handler for quick and lazy task management in m/p or s/p.
- This script by TC. Heavily dependant on the MultiTask code by Deadfast.
- v1.2, 19th Feb 2011
* Who is this script for and what does it do?
- It allows for the super easy creation, assignment and update of tasks.
- Requires no knowledge of the various separate BIS or MultiTask commands.
- Simple one-line call to the script for all task commands.
- Uses the power of Multitask to make tasks sync in multiplayer & JIP.
- No expertise required with arma scripting - can be called from the editor.
- Task information is stored in the stringtable for easy content editing.
Further / full information can be found in the README (click).
* Create a fully featured task:
[1, "rescuers", "Assigned", true, true] execVM "LazyTasks.sqf";
- Create a new "assigned" Task1 for the "rescuers" squad
(which includes full description, title, hint, map marker and caption),
will set it as the current task, and fire an additional hint popup.
* Update a task:
[1, "rescuers", "Succeeded"] execVM "LazyTasks.sqf";
- Update Task1 as "succeeded" for the "rescuers" squad.
Included are full installation and usage instructions, which I have tried to keep as simple as possible.
You can DOWNLOAD the script here (click). The RAR file includes the Readme, LazyTasks 1.2, MultiTask 0.2.1, 'example use' file, an example stringtable.csv and a very basic example mission demonstrating it's use (LazyTask-Example.Takistan).
This may seem pretty pointless for advanced users happy to manually code in all the task information, I wont deny. But if you are phased by complex scripting or if you have a LOT of tasks (as does one of my current projects), this may make life that little bit easier.