sentencesEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |descr=" to " |branch= dev |descr=")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *R([a-z ])" to "$1 - r$2")
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|game1= arma 3
|game1= arma3
 
|version1= 2.06
|version1= 2.06


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


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