BIS fnc advHint: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Added in default values.) |
||
Line 13: | Line 13: | ||
|p1= '''classes''': [[Array]] - Array in format ["hint main class","hint class"] |= | |p1= '''classes''': [[Array]] - Array in format ["hint main class","hint class"] |= | ||
|p2= '''duration1''': [[Number]] (Optional) - Duration of short hint in seconds |= | |p2= '''duration1''': [[Number]] (Optional) - Duration of short hint in seconds. ''(Default 15s)'' |= | ||
|p3= '''condition1''': [[String]] (Optional) - Condition for hiding of short hint |= | |p3= '''condition1''': [[String]] (Optional) - Condition for hiding of short hint ''(Default "")'' |= | ||
|p4= '''duration2''': [[Number]] (Optional) - Duration of full hint in seconds |= | |p4= '''duration2''': [[Number]] (Optional) - Duration of full hint in seconds ''(Default 35s)'' |= | ||
|p5= '''condition2''': [[String]] (Optional) - Condition for hiding of full hint |= | |p5= '''condition2''': [[String]] (Optional) - Condition for hiding of full hint ''(Default "")'' |= | ||
|p6= '''showing''': [[Boolean]] (Optional) - True shows hint even if tutorial hints are disabled in game settings ( | |p6= '''showing''': [[Boolean]] (Optional) - True shows hint even if tutorial hints are disabled in game settings ''(Default false)'' |= | ||
|p7= '''onlyFullHint''': [[Boolean]] (Optional) - True shows full hint without using of short hint |= | |p7= '''onlyFullHint''': [[Boolean]] (Optional) - True shows full hint without using of short hint ''(Default false)'' |= | ||
|p8= '''onlyOnce''': [[Boolean]] (Optional) - Show the hint in mission only once (true) or multiple times (false) |= | |p8= '''onlyOnce''': [[Boolean]] (Optional) - Show the hint in mission only once (true) or multiple times (false) ''(Default false)'' |= | ||
| [[Nothing]] |= Return value | | [[Nothing]] |= Return value |
Revision as of 01:29, 31 October 2014
Description
- Description:
- Shows advanced hint to player.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [classes, duration1, condition1, duration2, condition2, showing, onlyFullHint, onlyOnce] 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)
- Return Value:
- Nothing
Examples
- Example 1:
[["Common", "GPS"]] call BIS_fnc_advHint;
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