SetIgnoreLookInput: Difference between revisions

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


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|This function toggles the player's mouse input that controls the camera.}}


{{FuncSyntax|SetIgnoreLookInput(bIgnore)}}
{{FuncSyntax|SetIgnoreLookInput(bIgnore)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|bIgnore|__EDIT_ME__}}
{{FuncParam|bIgnore|The boolean status.}}


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


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang='Lua'>
-- freeze the camera movement
SetIgnoreLookInput(true)
</syntaxhighlight>


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

Revision as of 10:27, 2 March 2020

SetIgnoreLookInput

Type: Function
Context: Client
Introduced: v1.0

Description

This function toggles the player's mouse input that controls the camera.

Syntax

SetIgnoreLookInput(bIgnore)

Parameters

  • bIgnore
    The boolean status.

Return Value

  • This function returns nothing.

Example

-- freeze the camera movement
SetIgnoreLookInput(true)

See also

__EDIT_ME__