BIS fnc advHint: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Added missing parameter)
(Full default example)
Line 25: Line 25:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code><nowiki>[[</nowiki>"Common", "GPS"<nowiki>]]</nowiki> [[call]] '''BIS_fnc_advHint''';</code> |=
|x1= <code><nowiki>[["Common", "GPS"]]</nowiki> [[call]] [[BIS_fnc_advHint]];</code> |=
|x2= <code><nowiki>[["Common", "GPS"], 15,"",35,"",false,false,false,true]</nowiki> [[call]] [[BIS_fnc_advHint]];//Default</code> |=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 17:11, 13 January 2015

Hover & click on the images for description

Description

Description:
Shows advanced hint to player.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[classes, duration1, condition1, duration2, condition2, showing, onlyFullHint, onlyOnce, useSound] call BIS_fnc_advHint;
Parameters:
classes: Array - Array in format ["hint main class","hint class"]
duration1: Number (Optional) - Duration of short hint in seconds. (Default 15s)
condition1: String (Optional) - Condition for hiding of short hint (Default "")
duration2: Number (Optional) - Duration of full hint in seconds (Default 35s)
condition2: String (Optional) - Condition for hiding of full hint (Default "")
showing: Boolean (Optional) - True shows hint even if tutorial hints are disabled in game settings (Default false)
onlyFullHint: Boolean (Optional) - True shows full hint without using of short hint (Default false)
onlyOnce: Boolean (Optional) - Show the hint in mission only once (true) or multiple times (false) (Default false)
useSound: Boolean (Optional) - True plays a sound when the hint is opened (Default true)
Return Value:
Nothing

Examples

Example 1:
[["Common", "GPS"]] call BIS_fnc_advHint;
Example 2:
[["Common", "GPS"], 15,"",35,"",false,false,false,true] call BIS_fnc_advHint;//Default

Additional Information

See also:
Advanced Hints (Field Manual)

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

Notes

Bottom Section