Turnleft (Slash Command): Difference between revisions

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


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


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


This command can be bound to a key using the standard [[bind]] format (/bind ''trigger'' "turnleft ''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

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

Turns left.

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 Q key as +turnleft.

Examples

/turnleft 1
/+turnleft