userInputDisabled: Difference between revisions
Lou Montana (talk | contribs) (Add example fixing an issue on held key) Tag: Reverted |
Lou Montana (talk | contribs) m (Move example to disableUserInput) Tag: Manual revert |
||
Line 30: | Line 30: | ||
disableUserInput false; | disableUserInput false; | ||
diag_log str userInputDisabled; // false - control is regained only here | diag_log str userInputDisabled; // false - control is regained only here | ||
</sqf> | </sqf> | ||
|seealso= [[disableUserInput]] | |seealso= [[disableUserInput]] | ||
}} | }} |
Latest revision as of 16:32, 13 April 2025
Description
- Description:
- Returns whether or not user input is disabled.
- Groups:
- Interaction
Syntax
- Syntax:
- userInputDisabled
- Return Value:
- Boolean
Examples
- Example 1:
- Toggles user input
- Example 2:
- disableUserInput true; disableUserInput true; disableUserInput true; diag_log str userInputDisabled; // true disableUserInput false; diag_log str userInputDisabled; // true disableUserInput false; diag_log str userInputDisabled; // true disableUserInput false; diag_log str userInputDisabled; // false - control is regained only here
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