disableUserInput: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofp |= Game name | |||
|1.00|= Game version | |||
|eff= local |= Effects in MP | |||
____________________________________________________________________________________________ | |||
| 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. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | '''disableUserInput''' state |= Syntax | ||
| [[Nothing]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>disableUserInput true | |||
; cutscene | |||
disableUserInput false</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|DISABLEUSERINPUT]] | |||
[[Category:Scripting Commands OFP 1.96|DISABLEUSERINPUT]] | |||
[[Category:Scripting Commands OFP 1.46|DISABLEUSERINPUT]] | |||
[[Category:Scripting Commands ArmA|DISABLEUSERINPUT]] |
Revision as of 23:46, 1 August 2006
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
- 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