BIS fnc advHint: Difference between revisions
Jump to navigation
Jump to search
m (sa) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Shows advanced hint to player.|= | | Shows advanced hint to player.|DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [classes, duration1, condition1, duration2, condition2, showing, onlyFullHint, onlyOnce, useSound] call '''BIS_fnc_advHint'''; |= | | [classes, duration1, condition1, duration2, condition2, showing, onlyFullHint, onlyOnce, useSound] call '''BIS_fnc_advHint'''; |SYNTAX= | ||
|p1= '''classes''': [[Array]] - Array in format ["hint main class","hint class"] |= | |p1= '''classes''': [[Array]] - Array in format ["hint main class","hint class"] |= | ||
Line 22: | Line 22: | ||
|p9= '''useSound''': [[Boolean]] (Optional) - True plays a sound when the hint is opened ''(Default true)'' |= | |p9= '''useSound''': [[Boolean]] (Optional) - True plays a sound when the hint is opened ''(Default true)'' |= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 29: | Line 29: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Arma_3_Advanced_Hints_(Field_Manual)|Advanced Hints]], [[BIS_fnc_advHintFormat]], [[BIS_fnc_advHintCall]], [[BIS_fnc_advHintArg]] |= | | [[Arma_3_Advanced_Hints_(Field_Manual)|Advanced Hints]], [[BIS_fnc_advHintFormat]], [[BIS_fnc_advHintCall]], [[BIS_fnc_advHintArg]] |SEEALSO= | ||
}} | }} |
Revision as of 11:26, 7 April 2019
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
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
- Posted on August 13, 2016 - 12:09 (UTC)
- Sixtyfour
- 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.