BIS fnc advHintFormat: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "| arma3 |1.00 " to "|game1= arma3 |version1= 1.00 ")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2")
(11 intermediate revisions by the same user not shown)
Line 8: Line 8:
|descr= Return formatted texts of a CfgHints hint.
|descr= Return formatted texts of a CfgHints hint.


|s1=[topic,hint,subHint,colour] call [[BIS_fnc_advHintFormat]]
|s1= [topic,hint,subHint,colour] call [[BIS_fnc_advHintFormat]]


|p1= topic: [[String]] - Topic
|p1= topic: [[String]] - topic


|p2= topic: [[String]] - Hint
|p2= topic: [[String]] - hint


|p3= subHint: [[String]] - Sub-hint
|p3= subHint: [[String]] - sub-hint


|p4= colour: [[Array]] - Custom highlight color
|p4= colour: [[Array]] - custom highlight color


|r1=[[Array]] - Array in format:
|r1= [[Array]] - array in format:
*0: [[Config]] - Hint path
*0: [[Config]] - Hint path
*1: [[String]] - Display name
*1: [[String]] - Display name
Line 28: Line 28:
*7: [[Boolean]] - [[true]] if hint belongs to non-owned DLC
*7: [[Boolean]] - [[true]] if hint belongs to non-owned DLC


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


|seealso= [[BIS_fnc_advHint]], [[BIS_fnc_advHintArg]], [[BIS_fnc_advHintCall]]
|seealso= [[BIS_fnc_advHint]] [[BIS_fnc_advHintArg]] [[BIS_fnc_advHintCall]]
}}
}}

Revision as of 16:51, 8 November 2023

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_advHint BIS_fnc_advHintArg BIS_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