Forward (Slash Command): Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Thirty7
mNo edit summary
No edit summary
Line 1: Line 1:
==Slash Command==
==Slash Command==
{{SlashCommandArticle|command=forward|options=integer|note=If ''integer'' = 0, stop moving forward.  If ''integer'' > 0, move forward.  
{{SlashCommandArticle|command=forward|options=+, ++, 0-1|note= Move forward.}}


When used with the plus (+) modifier, move forward with keypress, and stop with key release.
 
:{{slashcommand|bind}} w "+{{bindcommand|forward}}"
{{Movement Options}}
* By default, this command is bound to the W key as <code>+forward</code>.
 
===Notes===
When bound to a key with the plus (+) modifier, move forward with keypress, and stop with key release.
:{{slashcommand|bind}} w {{bindcommand|forward|prefix=+}}


When used with two plus modifiers, acts as a toggle.
When used with two plus modifiers, acts as a toggle.
:{{slashcommand|bind}} w "++{{bindcommand|forward}}"
:{{slashcommand|bind}} w {{bindcommand|forward|prefix=++}}
}}
 


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

Revision as of 21:34, 25 July 2022

Slash Command

/forward +, ++, 0-1

Move forward.


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 W key as +forward.

Notes

When bound to a key with the plus (+) modifier, move forward with keypress, and stop with key release.

/bind w +forward

When used with two plus modifiers, acts as a toggle.

/bind w ++forward