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...")
 
No edit summary
 
(One intermediate revision by one other user not shown)
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__
*[[SetInputMode]]
*[[IsCtrlPressed]]
*[[IsShiftPressed]]
*[[IsAltPressed]]
*[[IsCmdPressed]]
*[[SetIgnoreMoveInput]]
*[[SetIgnoreLookInput]]
*[[SetControlRotation]]
*[[GetInputAxisValue]]

Latest revision as of 20:12, 2 September 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