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| | {{FuncDescription|This function toggles the player's mouse input that controls the camera.}} | ||
{{FuncSyntax|SetIgnoreLookInput(bIgnore)}} | {{FuncSyntax|SetIgnoreLookInput(bIgnore)}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|bIgnore| | {{FuncParam|bIgnore|The boolean status.}} | ||
{{FuncReturnValue| | {{FuncReturnValue|This function returns ''nothing''.}} | ||
== Example == | == Example == | ||
<syntaxhighlight lang='Lua'> | |||
-- freeze the camera movement | |||
SetIgnoreLookInput(true) | |||
</syntaxhighlight> | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
*[[SetInputMode]] | |||
*[[IsCtrlPressed]] | |||
*[[IsShiftPressed]] | |||
*[[IsAltPressed]] | |||
*[[IsCmdPressed]] | |||
*[[SetIgnoreMoveInput]] | |||
*[[SetIgnoreLookInput]] | |||
*[[SetControlRotation]] | |||
*[[GetInputAxisValue]] |
Latest revision as of 20:12, 2 September 2020
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)