taskHint: Difference between revisions
Jump to navigation
Jump to search
(add. classification) |
(populated) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Shows info about new, changed or failed task. The text can contain several lines. \n is used to indicate the end of a line. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| ''' | | '''taskHint''' [hintText, [r, g, b, a], icon] |= Syntax | ||
|p1= |= PARAMETER1 | |p1= [hintText, [r, g, b, a], icon]: [[Array]] |= PARAMETER1 | ||
|p2= |= PARAMETER2 | |p2= hintText: [[String]] |= PARAMETER2 | ||
|p3= |= PARAMETER3 | |p3= [r, g, b, a]: [[Array]] - format [[Color]] |= PARAMETER3 | ||
| |= | |p4= icon: [[String]] - possible values: taskNew, taskDone, taskFailed, taskCurrent |= PARAMETER4 | ||
| [[Nothing]] |= RETURNVALUE | |||
|x1= <code> | |||
|x1= <code>taskhint ["Task failed!\nBad job!", [1, 0, 0, 1], "taskFailed"]</code>|= EXAMPLE1 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ |
Revision as of 20:43, 18 June 2009
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