disableUserInput

From Bohemia Interactive Community
Revision as of 07:25, 10 February 2012 by BNNMaster (talk | contribs)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Disable and enable the keyboard and mouse input, usually used during cutscenes. Be careful with the usage of this command, always remember to enable the user input again, as once the user input is disabled, you can only shut down OFP but not exit the mission with escape. Additionally, if NOT used locally by a Server (meaning only for the Person it should be executed on), everybody in range of the trigger/other way of activation will be affected. Same with the Editor, making a simple trigger and adding the command in question, is not recommended, since the command doesn't accept detailed information WHICH object to affect, and the command clearly says "disableUSERinput".
Groups:
Uncategorised

Syntax

Syntax:
disableUserInput state
Parameters:
state: Boolean
Return Value:
Nothing

Examples

Example 1:
disableUserInput true
; cutscene

disableUserInput false

Additional Information

See also:
See also needed

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

Notes

Bottom Section