BIS fnc advHintFormat: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.00 | |1.00 | ||
|gr1 = GUI | |gr1 = GUI | ||
| Return formatted texts of a CfgHints hint. | | Return formatted texts of a CfgHints hint. | ||
| [topic,hint,subHint,colour] call [[BIS_fnc_advHintFormat]] | | [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 | ||
| [[Array]] - Array in format: | | [[Array]] - Array in format: | ||
Line 27: | Line 27: | ||
*5: [[String]] - Image | *5: [[String]] - Image | ||
*6: [[Number]] - DLC ID | *6: [[Number]] - DLC ID | ||
*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= <code>["Arma3","Feedback","",[0.5,0.3,0.6,1]] [[call]] [[BIS_fnc_advHintFormat]];</code> | ||
| [[BIS_fnc_advHint]], [[BIS_fnc_advHintArg]], [[BIS_fnc_advHintCall]] | | [[BIS_fnc_advHint]], [[BIS_fnc_advHintArg]], [[BIS_fnc_advHintCall]] | ||
}} | }} | ||
Revision as of 22:39, 17 January 2021
Description
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
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