{"name":"BIS_fnc_advHint","operator":null,"title":"BIS fnc advHint","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_advHint","revid":327971,"updated":"2022-07-13T14:30:14Z","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":"Shows advanced hint to player.","syntaxes":[{"syntax":"[classes, duration1, condition1, duration2, condition2, showing, onlyFullHint, onlyOnce, useSound] call BIS_fnc_advHint","since":null,"effect":null,"exec":null,"params":[{"name":"classes","type":"Array","optional":false,"default":null,"description":"array in format [\"hint main class\", \"hint class\"]","types":["Array"],"since":null,"text":"**classes**: Array - array in format [\"hint main class\", \"hint class\"]"},{"name":"duration1","type":"Number","optional":true,"default":"15","description":"duration of short hint in seconds","types":["Number"],"since":null,"text":"**duration1**: Number - (Optional, default 15) duration of short hint in seconds"},{"name":"condition1","type":"String","optional":true,"default":"\"\"","description":"condition for hiding the short hint","types":["String"],"since":null,"text":"**condition1**: String - (Optional, default \"\") condition for hiding the short hint"},{"name":"duration2","type":"Number","optional":true,"default":"35","description":"duration of full hint in seconds","types":["Number"],"since":null,"text":"**duration2**: Number - (Optional, default 35) duration of full hint in seconds"},{"name":"condition2","type":"String","optional":true,"default":"\"\"","description":"condition for hiding the full hint","types":["String"],"since":null,"text":"**condition2**: String - (Optional, default \"\") condition for hiding the full hint"},{"name":"showing","type":"Boolean","optional":true,"default":"false","description":"true shows hint even if tutorial hints are disabled in game settings","types":["Boolean"],"since":null,"text":"**showing**: Boolean - (Optional, default false) true shows hint even if tutorial hints are disabled in game settings"},{"name":"onlyFullHint","type":"Boolean","optional":true,"default":"false","description":"true shows full hint without using of short hint","types":["Boolean"],"since":null,"text":"**onlyFullHint**: Boolean - (Optional, default false) true shows full hint without using of short hint"},{"name":"onlyOnce","type":"Boolean","optional":true,"default":"false","description":"show the hint in mission only once (true) or multiple times (false)","types":["Boolean"],"since":null,"text":"**onlyOnce**: Boolean - (Optional, default false) show the hint in mission only once (true) or multiple times (false)"},{"name":"useSound","type":"Boolean","optional":true,"default":"true","description":"true plays a sound when the hint is opened","types":["Boolean"],"since":null,"text":"**useSound**: Boolean - (Optional, default true) true plays a sound when the hint is opened"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"}}],"examples":[{"text":"```sqf\n[[\"Common\", \"GPS\"]] call BIS_fnc_advHint;\n```","code":["[[\"Common\", \"GPS\"]] call BIS_fnc_advHint;"]},{"text":"```sqf\n[[\"Common\", \"GPS\"], 15, \"\", 35, \"\", false, false, false, true] call BIS_fnc_advHint; // default\n```","code":["[[\"Common\", \"GPS\"], 15, \"\", 35, \"\", false, false, false, true] call BIS_fnc_advHint; // default"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["Arma 3: Advanced Hints (Field Manual)","BIS_fnc_advHintFormat","BIS_fnc_advHintCall","BIS_fnc_advHintArg"],"notes":[{"user":"Sixtyfour","date":"2016-08-13T12:09:00Z","text":"This command will not do anything for players who have \"Tutorial Hints\" disabled in their Options > Game difficulty settings or on servers that disable it in their relevant difficulty preset."}],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: GUI","Functions","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}