BIS fnc advHintCall: Difference between revisions
| 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 (Some wiki formatting) | ||
| 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= fullTextcall call [[BIS_fnc_advHintCall]] | |s1= fullTextcall 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]] | ||
Revision as of 19:56, 31 March 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:
- fullTextcall 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
 
	