Turnright (Slash Command): Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Deadspatula (historical)
(Initial Write-up)
 
No edit summary
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
'''/Turnright''' ''integer''(optional) or '''/turnright''' ''integer''(optional)
== Slash Command ==
{{SlashCommandArticle|command=turnright|options=+, ++, or [0-1]|note=Turns right.}}


The turnright command is a movement toggle command.  When activated without an accompanying number, turnright gives you the current state of turnright on any tab with the 'system' chat channel.
{{Movement Options}}
* By default, this command is bound to the E key as <code>+turnright</code>.


The number is a flag. If ''integer'' > 0, then the character turns right. If ''integer'' < 0, the character stops turning right.
==Examples==
  /turnright 1
  /+turnright


This command can be bound to a key using the standard [[bind]] format (/bind ''trigger'' "turnright ''integer''").  If you wish to add a flag to tell your character to start turning, you will either have to manually type in the command to tell him/her to stop, or add a stop turning bind.
 
{{Navbox Movement}}
[[Category:Movement Commands]]
[[Category:Slash Commands]]

Latest revision as of 15:53, 28 December 2022

Slash Command

/turnright +, ++, or [0-1]

Turns right.

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 E key as +turnright.

Examples

/turnright 1
/+turnright