{"name":"BIS_fnc_advHintFormat","operator":null,"title":"BIS fnc advHintFormat","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_advHintFormat","revid":363518,"updated":"2024-04-02T15:08:52Z","groups":["GUI"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Return formatted texts of a CfgHints hint.","syntaxes":[{"syntax":"[topic,hint,subHint,colour] call BIS_fnc_advHintFormat","since":null,"effect":null,"exec":null,"params":[{"name":"topic","type":"String","optional":false,"default":null,"description":"topic","types":["String"],"since":null,"text":"topic: String - topic"},{"name":"hint","type":"String","optional":false,"default":null,"description":"hint","types":["String"],"since":null,"text":"hint: String - hint"},{"name":"subHint","type":"String","optional":false,"default":null,"description":"sub-hint","types":["String"],"since":null,"text":"subHint: String - sub-hint"},{"name":"colour","type":"Array","optional":false,"default":null,"description":"custom highlight color","types":["Array"],"since":null,"text":"colour: Array - custom highlight color"}],"returns":{"type":"Array","types":["Array"],"description":"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","text":"Array - array in format:\n- 0: Config - Hint path\n- 1: String - Display name\n- 2: String - Display name (short)\n- 3: String - Description\n- 4: String - Tip\n- 5: String - Image\n- 6: Number - DLC ID\n- 7: Boolean - true if hint belongs to non-owned DLC"}}],"examples":[{"text":"```sqf\n[\"Arma3\",\"Feedback\",\"\",[0.5,0.3,0.6,1]] call BIS_fnc_advHintFormat;\n```","code":["[\"Arma3\",\"Feedback\",\"\",[0.5,0.3,0.6,1]] call BIS_fnc_advHintFormat;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_advHint","BIS_fnc_advHintArg","BIS_fnc_advHintCall"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: GUI","Functions","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}