disableUserInput: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(Nonsense removed)
Line 11: Line 11:
| Disable and enable the keyboard and mouse input, usually used during cutscenes.
| 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.
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. |= Description
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". |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 22:13, 10 February 2012

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.
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