BIS fnc advHintFormat: Difference between revisions
Jump to navigation
Jump to search
m (sa) |
m (fixed arguments) |
||
(30 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
| arma3 | | |game1= arma3 | ||
|version1= 1.00 | |||
| | |gr1= GUI | ||
| Return formatted texts of a CfgHints hint. | |descr= Return formatted texts of a CfgHints hint. | ||
| [topic,hint,subHint,colour] call [[BIS_fnc_advHintFormat]] | |s1= [topic,hint,subHint,colour] call [[BIS_fnc_advHintFormat]] | ||
|p1= topic: [[String]] - | |p1= topic: [[String]] - topic | ||
|p2= | |p2= hint: [[String]] - hint | ||
|p3= subHint: [[String]] - | |p3= subHint: [[String]] - sub-hint | ||
|p4= colour: [[Array]] - | |p4= colour: [[Array]] - custom highlight color | ||
| [[Array]] - | |r1= [[Array]] - array in format: | ||
*0: [[Config]] - Hint path | *0: [[Config]] - Hint path | ||
*1: [[String]] - Display name | *1: [[String]] - Display name | ||
Line 28: | Line 26: | ||
*5: [[String]] - Image | *5: [[String]] - Image | ||
*6: [[Number]] - DLC ID | *6: [[Number]] - DLC ID | ||
*7: [[Boolean]] - [[ | *7: [[Boolean]] - [[true]] if hint belongs to non-owned DLC | ||
|x1= < | |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]] | |||
| [[BIS_fnc_advHint]] | |||
}} | }} | ||
Latest revision as of 16:08, 2 April 2024
Description
Syntax
- Syntax:
- [topic,hint,subHint,colour] call BIS_fnc_advHintFormat
- Parameters:
- topic: String - topic
- hint: String - hint
- subHint: String - sub-hint
- colour: Array - custom highlight color
- Return Value:
- Array - array in format:
Examples
- Example 1:
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