Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Bind (Slash Command)"

From Paragon Wiki Archive
Jump to: navigation, search
m
(added examples)
Line 8: Line 8:
  
 
''command'' can be one command or multiple commands strung together, separated by $$ (two dollar signs).}}
 
''command'' can be one command or multiple commands strung together, separated by $$ (two dollar signs).}}
 +
 +
 +
=== Examples of Common Binds ===
 +
 +
:'''/bind T powexec_name Fly'''
 +
'''T''' is now a trigger which will toggle [[Flight#Fly|Fly]] on or off.
 +
 +
:'''/bind T "powexec_name Combat Jumping$$powexec_name Super Jump"'''
 +
'''T''' is now a trigger which will activate [[Leaping#Super_Jump|Super Jump]].  If '''T''' is pressed again, [[Leaping#Combat_Jumping|Combat Jumping]] will be activated.  The cycle repeats itself.
 +
 +
:'''/bind LSHIFT+LBUTTON powexec_name Teleport'''
 +
Holding on the '''left shift key''' and clicking a location with the '''left mouse button''' will [[Travel_Powers#Teleport|Teleport]] the character to that location or as close to it as possible.
 +
  
 
{{Bind Commands NavBox}}
 
{{Bind Commands NavBox}}

Revision as of 10:46, 24 February 2009

Slash Command

/bind trigger "command"

trigger is a key or key combination, such as 'H' and 'LSHIFT+H'. See List of Key Names for a... list of key names.

NOTE: Chord keys (ALT, SHIFT, CTRL) are the only keys that can be added to create key combinations. Chord keys must be specified before the desired trigger key ('ALT+H', not 'H+ALT'). You cannot create a key combo of 'NUMPAD1+RBUTTON'.

command can be one command or multiple commands strung together, separated by $$ (two dollar signs).


Examples of Common Binds

/bind T powexec_name Fly

T is now a trigger which will toggle Fly on or off.

/bind T "powexec_name Combat Jumping$$powexec_name Super Jump"

T is now a trigger which will activate Super Jump. If T is pressed again, Combat Jumping will be activated. The cycle repeats itself.

/bind LSHIFT+LBUTTON powexec_name Teleport

Holding on the left shift key and clicking a location with the left mouse button will Teleport the character to that location or as close to it as possible.


Template:Bind Commands NavBox