BIS_fnc_genericSentence

From Bohemia Interactive Community
Revision as of 09:36, 24 October 2011 by Str (talk | contribs) (Created page with "genericSentence {{Function|= Comments ____________________________________________________________________________________________ | ...")
Jump to navigation Jump to search


Hover & click on the images for description

Description

Description:
[class,(speaker,delay,canRepeat)] call BIS_fnc_genericSentence;
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
Boolean - true if sentence was played
Parameters:
class: String - sentence name (from class RadioProtocol_EN_H)
speaker (Optional): Object or Code - sentence speaker (when code, speaker is it's 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:
Return value needed

Examples

Example 1:
["FeedbackFlightNegativeHeightTooHigh"] call bis_fnc_genericSentence;
Example 2:
["FeedbackFlightNegativeSpeedTooSlow",nil,5,true] call bis_fnc_genericSentence;

Additional Information

See also:
See also needed

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

Notes

Bottom Section