BIS fnc advHintFormat: Difference between revisions
Jump to navigation
Jump to search
m (1 revision imported: BIS Functions update 2/7) |
m (pf) |
||
Line 1: | Line 1: | ||
{{Function|Comments= | |||
____________________________________________________________________________________________ | |||
| arma3 |Game name= | |||
|1.00|Game version= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Return formatted texts of a CfgHints hint. |Description= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [topic,hint,subHint,colour] call [[BIS_fnc_advHintFormat]] |Syntax= | ||
|p1= topic: [[String]] - Topic |Parameter 1= | |||
|p2= topic: [[String]] - Hint |Parameter 2= | |||
|p3= subHint: [[String]] - Sub-hint |Parameter 3= | |||
| | |p4= colour: [[Array]] - Custom highlight color |Parameter 4= | ||
| | | | [[Array]] - Array in format: | ||
*0: [[Config]] - Hint path | |||
*1: [[String]] - Display name | |||
*2: [[String]] - Display name (short) | |||
*3: [[String]] - Description | |||
*4: [[String]] - Tip | |||
*5: [[String]] - Image | |||
*6: [[Number]] - DLC ID | |||
*7: [[Boolean]] - [[True]] if hint belongs to non-owned DLC |Return value= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code></code> |= | |x1= <code>["Arma3","Feedback","",[0.5,0.3,0.6,1]] [[call]] [[BIS_fnc_advHintFormat]];</code>|Example 1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | | [[BIS_fnc_advHint]], [[hint]], [[hintC]], [[hintSilent]] |See also= | ||
}} | }} | ||
Revision as of 10:00, 20 June 2018
Description
- Description:
- Return formatted texts of a CfgHints hint.
- Execution:
- call
- Groups:
- Uncategorised
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_advHinthinthintChintSilent
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