sentencesEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (dev → main)
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *R([a-z ])" to "$1 - r$2")
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
|s1= [[sentencesEnabled]]
|s1= [[sentencesEnabled]]


|r1= [[Boolean]] - Returns [[true]] if sentences are enabled
|r1= [[Boolean]] - returns [[true]] if sentences are enabled


|x1= <code>_areSentencesEnabled = [[sentencesEnabled]];</code>
|x1= <sqf>
if (sentencesEnabled) then
{
hint "sentences are enabled; changing that now";
enableSentences false;
};
</sqf>


|seealso= [[enableSentences]]
|seealso= [[enableSentences]]
}}
}}

Latest revision as of 15:47, 8 November 2023

Hover & click on the images for description

Description

Description:
A getter for enableSentences.
Groups:
Radio and Chat

Syntax

Syntax:
sentencesEnabled
Return Value:
Boolean - returns true if sentences are enabled

Examples

Example 1:
if (sentencesEnabled) then { hint "sentences are enabled; changing that now"; enableSentences false; };

Additional Information

See also:
enableSentences

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