disableUserInput: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (rm. warning - *any* command can be abused...)
No edit summary
Line 14: Line 14:
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''disableUserInput''' [[Boolean]]|= Syntax
| '''disableUserInput''' state |= Syntax
 
|p1= state: [[Boolean]] |= Parameter 1


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value

Revision as of 18:16, 22 January 2009

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