BIS fnc advHintFormat: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "True" to "true")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 7: Line 6:


|gr1 = GUI |GROUP1=
|gr1 = GUI |GROUP1=
____________________________________________________________________________________________


| Return formatted texts of a CfgHints hint. |Description=
| Return formatted texts of a CfgHints hint. |Description=
____________________________________________________________________________________________


| [topic,hint,subHint,colour] call [[BIS_fnc_advHintFormat]] |Syntax=
| [topic,hint,subHint,colour] call [[BIS_fnc_advHintFormat]] |Syntax=
Line 31: Line 28:
*6: [[Number]] - DLC ID
*6: [[Number]] - DLC ID
*7: [[Boolean]] - [[true]] if hint belongs to non-owned DLC |Return value=
*7: [[Boolean]] - [[true]] if hint belongs to non-owned DLC |Return value=
____________________________________________________________________________________________


|x1= <code>["Arma3","Feedback","",[0.5,0.3,0.6,1]] [[call]] [[BIS_fnc_advHintFormat]];</code>|Example 1=
|x1= <code>["Arma3","Feedback","",[0.5,0.3,0.6,1]] [[call]] [[BIS_fnc_advHintFormat]];</code>|Example 1=


____________________________________________________________________________________________


| [[BIS_fnc_advHint]], [[BIS_fnc_advHintArg]], [[BIS_fnc_advHintCall]] |See also=
| [[BIS_fnc_advHint]], [[BIS_fnc_advHintArg]], [[BIS_fnc_advHintCall]] |See also=

Revision as of 22:39, 16 January 2021

Hover & click on the images for description

Description

Description:
Return formatted texts of a CfgHints hint.
Execution:
call
Groups:
GUI

Syntax

Syntax:
[topic,hint,subHint,colour] call BIS_fnc_advHintFormat
Parameters:
topic: String - Topic
topic: String - Hint
subHint: String - Sub-hint
colour: Array - Custom highlight color
Return Value:
Array - Array in format:

Examples

Example 1:
["Arma3","Feedback","",[0.5,0.3,0.6,1]] call BIS_fnc_advHintFormat;

Additional Information

See also:
BIS_fnc_advHintBIS_fnc_advHintArgBIS_fnc_advHintCall

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

Bottom Section