sentencesEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *game([0-9]) *= *[aA]rma +3 * " to "|game$1= arma3 ")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *R([a-z ])" to "$1 - r$2")
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:


|gr1= Radio and Chat
|gr1= Radio and Chat
|branch= dev


|descr= A getter for [[enableSentences]].
|descr= A getter for [[enableSentences]].
Line 12: 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