taskHint: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 36: Line 36:
<dl class='command_description'>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
Here are the BIS colors:
taskhint ["New Task!\nHere's your new task!", [1, 1, 1, 1], "taskNew"];
taskhint ["Task Assigned!\nDo this now!", [1, 1, 1, 1], "taskCurrent"];
taskhint ["Task Succeeded!\nGood job!", [0.600000,0.839215,0.466666,1], "taskDone"];
taskhint ["Task Failed!\nBad job!", [0.972549,0.121568,0,1], "taskFailed"];
taskhint ["Task Canceled!\nNever mind!", [0.75,0.75,0.75,1], "taskFailed"];


<!-- Note Section END -->
<!-- Note Section END -->

Revision as of 02:37, 15 July 2011

Hover & click on the images for description

Description

Description:
Shows info about new, changed or failed task. The text can contain several lines. \n is used to indicate the end of a line.
Groups:
Uncategorised

Syntax

Syntax:
taskHint [hintText, [r, g, b, a], icon]
Parameters:
[hintText, [r, g, b, a], icon]: Array
hintText: String
[r, g, b, a]: Array - format Color
icon: String - possible values: taskNew, taskDone, taskFailed, taskCurrent
Return Value:
Nothing

Examples

Example 1:
taskhint ["Task failed!\nBad job!", [1, 0, 0, 1], "taskFailed"]

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Here are the BIS colors: taskhint ["New Task!\nHere's your new task!", [1, 1, 1, 1], "taskNew"]; taskhint ["Task Assigned!\nDo this now!", [1, 1, 1, 1], "taskCurrent"]; taskhint ["Task Succeeded!\nGood job!", [0.600000,0.839215,0.466666,1], "taskDone"]; taskhint ["Task Failed!\nBad job!", [0.972549,0.121568,0,1], "taskFailed"]; taskhint ["Task Canceled!\nNever mind!", [0.75,0.75,0.75,1], "taskFailed"];

Bottom Section