userInputDisabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Add Arma 3 script command category)
m (Text replacement - "<code>([^\[]+)<\/code>" to "<sqf>$1</sqf>")
 
(25 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma3 |= Game name
|game1= arma3
|1.60|= Game version
|version1= 1.60
____________________________________________________________________________________________


| Returns true if user input is disabled |= Description
|gr1= Interaction
____________________________________________________________________________________________
| '''userInputDisabled'''|= Syntax


| [[Boolean]]|= Return value
|descr= Returns true if user input is disabled
____________________________________________________________________________________________
|s1= '''userInputDisabled'''
 
|x1= <code>[[if]] (![[userInputDisabled]]) [[then]]
{
  [[disableUserInput]] [[true]];
}
[[else]]
{
  [[disableUserInput]] [[false]];
};</code> |= Example 1
____________________________________________________________________________________________


| [[disableUserInput]] |= See also
|r1= [[Boolean]]


|x1= Toggles user input<sqf>disableUserInput !userInputDisabled;</sqf>
|seealso= [[disableUserInput]]
}}
}}
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 21:07, 13 May 2022

Hover & click on the images for description

Description

Description:
Returns true if user input is disabled
Groups:
Interaction

Syntax

Syntax:
userInputDisabled
Return Value:
Boolean

Examples

Example 1:
Toggles user input
disableUserInput !userInputDisabled;

Additional Information

See also:
disableUserInput

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