sentencesEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *R([a-z ])" to "$1 - r$2")
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|arma 3
|game1= arma3
|version1= 2.06


|2.06
|gr1= Radio and Chat


|gr1=  
|descr= A getter for [[enableSentences]].


| A getter for [[enableSentences]]
|s1= [[sentencesEnabled]]


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


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


|seealso= [[enableSentences]]
|seealso= [[enableSentences]]
}}
}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma3|Scripting Commands}}

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