Camrotate (Slash Command): Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
{{SlashCommandArticle|command=camrotate|options=0-1|aliases={{slashcommand|canlook}}, {{slashcommand|mouse_look}}|note=Camrotate is bound to the PageUp key (default) to allow controlled camera rotation around the player using the mouse.}}
{{SlashCommandArticle|command=camrotate|options=0-1|aliases={{slashcommand|canlook}}, {{slashcommand|mouse_look}}|note=Camrotate is bound to the PageUp key (default) to allow controlled camera rotation around the player using the mouse.}}


* This command toggles camrotate on (1) and off (0).
{{template:Movement Options}}
* The default binding to the PageUp key is <code>+camrotate</code>.
* By default this command is bound to the PageUp key as <code>+camrotate</code>.


==Examples==
==Examples==
  /camrotate 1
  /camrotate 1
+camrotate




{{Navbox Movement}}
{{Navbox Movement}}

Revision as of 10:10, 25 July 2022

Overview

/camrotate 0-1
Aliases: '/canlook, /mouse_look'

Camrotate is bound to the PageUp key (default) to allow controlled camera rotation around the player using the mouse.

The command behaves differently depending on the option that is used:

Option Behavior
+ Activates the command while the key or button is pressed, deactivates when the key or button is released.
++ Toggles the command on and off with each press of the key or button.
1 Activates the command indefinitely, until it is disabled.
0 Disables the command.
  • The "+" and "++" options are prefixes that must be placed at the beginning of the command. These options are intended to be used with commands that are bound to keys or mouse buttons.
  • The "1" and "0" options must be placed after the command separated by a space or comma.
  • By default this command is bound to the PageUp key as +camrotate.

Examples

/camrotate 1
+camrotate