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 |
||
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}} | ||
__EDIT_ME__ | __EDIT_ME__ |
Revision as of 10:27, 2 March 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)
See also
__EDIT_ME__