[Arma2] mk_taskHint by mikey
The taskHint command by BIS is too difficult to use for novice scripters since it requires the scripter to provide the formatting, rgba and the icon name to use.
How to load the function
In your init.sqf, put this:
// Create a taskHint
// Usage: [tskExample] call mk_fTaskHint;
// Gets the taskState of the passed task, and shows the status on screen
mk_fTaskHint = compile (preprocessFileLineNumbers "fTaskHint.sqf");
** NB: Change the filepath to where you keep the file. This is just a copy and paste from my own template **
How to use the function
This function will only work with tasks you've created (see my briefing tutorial on how to do that), and it will output the task's current state:
[tskExample] call mk_fTaskHint;
View the forum thread for this resource here.
The OFPEC Command Reference contains details of all scripting commands available to the editor.
All you need to know about how to start editing.
This tutorial explains the mysteries of multiplayer editing.
OFPEC hosts several quality tutorials written specifically for the site by staff and members...
Register a tag, browse for addon keys...