BIS fnc advHintCall: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>(\[?[^\[]+\]?) *(\[\[)?(call|spawn)(\]\])? *(\[\[)?(BI(N|S)_fnc_[a-zA-Z0-9_]+)(\]\])?;?<\/code>" to "<sqf>$1 $3 $6;</sqf>") |
Lou Montana (talk | contribs) m (Fix) |
||
(One intermediate revision by the same user not shown) | |||
Line 7: | Line 7: | ||
|descr= Advanced hint call, creates hint itself.<br> | |descr= Advanced hint call, creates hint itself.<br> | ||
This function gets parameters from variable '''BIS_fnc_advHint_hint''': | This function gets parameters from variable '''BIS_fnc_advHint_hint''' in format [class, fullText, shortText, shortDur, shortHideCond, fullDur, fullHideCond, showFull, sound]: | ||
* class: [[String]] - class of hint<br> | |||
* fullText: [[String]] - structured text of full hint<br> | |||
* shortText: [[String]] - structured text of short hint<br> | |||
* shortDur: [[Number]] - duration of short hint in seconds<br> | |||
* hideCond: [[String]] - condition for hiding of short hint (default: "false")<br> | |||
* fullDur: [[Number]] - duration of full hint in seconds<br> | |||
* fullHideCond: [[String]] - condition for hiding of full hint (default: "false")<br> | |||
* showFull: [[Boolean]] - true shows directly full hint (default: [[false]])<br> | |||
* sound: [[Boolean]] - true for using of sound (default: [[true]]) | |||
|s1= | |s1= fullText call [[BIS_fnc_advHintCall]] | ||
|p1=fullText: [[Boolean]] - [[true]] to show full text, [[false]] to only show small hint notification | |p1= fullText: [[Boolean]] - [[true]] to show full text, [[false]] to only show small hint notification | ||
|r1= [[Nothing]] | |r1= [[Nothing]] |
Latest revision as of 00:23, 30 April 2024
Description
- Description:
- Advanced hint call, creates hint itself.
This function gets parameters from variable BIS_fnc_advHint_hint in format [class, fullText, shortText, shortDur, shortHideCond, fullDur, fullHideCond, showFull, sound]:- class: String - class of hint
- fullText: String - structured text of full hint
- shortText: String - structured text of short hint
- shortDur: Number - duration of short hint in seconds
- hideCond: String - condition for hiding of short hint (default: "false")
- fullDur: Number - duration of full hint in seconds
- fullHideCond: String - condition for hiding of full hint (default: "false")
- showFull: Boolean - true shows directly full hint (default: false)
- sound: Boolean - true for using of sound (default: true)
- class: String - class of hint
- Execution:
- call
- Groups:
- GUI
Syntax
- Syntax:
- fullText call BIS_fnc_advHintCall
- Parameters:
- fullText: Boolean - true to show full text, false to only show small hint notification
- Return Value:
- Nothing
Examples
- Example 1:
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