Jump to navigation Jump to search
- Play generic sentence with probablity set by bis_genericSentenceMode variable (0.5 = 50%, 1 = 100%)
- [class, speaker, delay, canRepeat] call BIS_fnc_genericSentence
- class: String - sentence name (from class RadioProtocol_EN_H)
- speaker: Object or Code - (Optional) sentence speaker (when code, speaker is it is returned value). Default is 2nd crew member.
- delay: Number - (Optional) delay from previous generic sentence: When negative, sentence is played always.
- canRepeat: Boolean - (Optional) true to allow repeating same sentence
- Return Value:
- Boolean - true if sentence was played
- Example 1:
- Example 2:
- See also:
- Generic Sentences