BIS fnc genericSentence: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *TKOH * " to " | tkoh ") |
Lou Montana (talk | contribs) m (Text replacement - " \| *tkoh * *\| *1.([0-9]{2}) * +\|([^g]|g[^a])" to " | tkoh |1.$1 |game2= arma3 |version2= 0.50 |$2") |
||
Line 2: | Line 2: | ||
| tkoh | | tkoh | ||
|1.00 | |||
| | |game2= arma3 | ||
|version2= 0.50 | |||
|gr1= Conversations | |gr1= Conversations |
Revision as of 21:18, 12 June 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Conversations
Syntax
- Syntax:
- Syntax needed
- Parameters:
- class: String - sentence name (from class RadioProtocol_EN_H)
- speaker (Optional): Object or Code - sentence speaker (when code, speaker is it is returned value). Default is 2nd crew member.
- delay (Optional): Number - delay from previous generic sentence: When negative, sentence is played always.
- canRepeat (Optional): Boolean - true to allow repeating same sentence
- Return Value:
- Boolean - true if sentence was played
Examples
- Example 1:
["FeedbackFlightNegativeHeightTooHigh"] call bis_fnc_genericSentence;
- Example 2:
["FeedbackFlightNegativeSpeedTooSlow",nil,5,true] call bis_fnc_genericSentence;
Additional Information
- See also:
- Generic Sentences
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