SetInputMode: Difference between revisions

From Onset Developer Wiki
Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|SetInputMode(InputMode)}} {{FuncParameters}} {{FuncParam|InputMode|__EDIT_ME__}} {{FuncReturnValu..."
 
28days (talk | contribs)
No edit summary
Line 1: Line 1:
{{Info|Function|Client|1.0}}
{{Info|Function|Client|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Set the client's input mode for the game.}}


{{FuncSyntax|SetInputMode(InputMode)}}
{{FuncSyntax|SetInputMode(InputMode)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|InputMode|__EDIT_ME__}}
{{FuncParam|InputMode|[[InputModes]]}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|This function returns nothing.}}


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang="Lua>
SetInputMode(INPUT_GAME)
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
__EDIT_ME__

Revision as of 13:25, 19 November 2019

SetInputMode

Type: Function
Context: Client
Introduced: v1.0

Description

Set the client's input mode for the game.

Syntax

SetInputMode(InputMode)

Parameters

Return Value

  • This function returns nothing.

Example

SetInputMode(INPUT_GAME)

See also

__EDIT_ME__