taskHint: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - "<dt class="note">([^<>]+) " to "<dt class="note">$1</dt> ")
Line 36: Line 36:
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->


<dt class="note">Unknown
<dt class="note">Unknown</dt>
<dd class="note">Here are the BIS colors:
<dd class="note">Here are the BIS colors:
<code>[[taskHint]] ["New Task!\nHere's your new task!", [1, 1, 1, 1], "taskNew"];
<code>[[taskHint]] ["New Task!\nHere's your new task!", [1, 1, 1, 1], "taskNew"];

Revision as of 01:28, 30 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Briefing

Syntax

Syntax:
Syntax needed
Parameters:
[text, colour, icon]: Array
text: String
colour: Array - format Color (RGBA)
icon: String - one of:
  • "taskNew"
  • "taskCurrent"
  • "taskDone"
  • "taskFailed"
Return Value:
Return value needed

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
Unknown
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"];