Editors Depot

[Arma2] mk_taskHint by mikey

Version 1.0
Added 10 Aug 2009
Downloads 1954
Demo included Yes
Filesize 3.92KB
User rating 5/5

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:

Code:
// 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:

Code:
[tskExample] call mk_fTaskHint;  

View the forum thread for this resource here.


Click to see 1 other resource by this author.


Search OFPEC Editors Depot

COMREF

The OFPEC Command Reference contains details of all scripting commands available to the editor.

Beginner's Tutorial

All you need to know about how to start editing.

Multiplayer Tutorial

This tutorial explains the mysteries of multiplayer editing.

OFPEC Tutorials

OFPEC hosts several quality tutorials written specifically for the site by staff and members...

OFPEC Tags

Register a tag, browse for addon keys...

Advertisement