Powexec location (Slash Command): Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 8: Line 8:
***''Direction'' can either be one of six cardinal directions relative to the player: '''forward, back, left, right, up, down''', -or- it can be a number. If it's a number, it is taken as an '''angle in degrees'''. 0 is straight in front of you, 90 is right, etc. It can also be '''camera''', to indicate the direction the camera is facing, including elevation.
***''Direction'' can either be one of six cardinal directions relative to the player: '''forward, back, left, right, up, down''', -or- it can be a number. If it's a number, it is taken as an '''angle in degrees'''. 0 is straight in front of you, 90 is right, etc. It can also be '''camera''', to indicate the direction the camera is facing, including elevation.
***''Distance'' is either a number in world units ('''feet'''), or the keyword '''max''', which means to use the maximum range of the power.
***''Distance'' is either a number in world units ('''feet'''), or the keyword '''max''', which means to use the maximum range of the power.
** '''cursor''' - Current location of the cursor. This targeting mode behaves as if the power was activated with a click at the current mouse cursor location. This will allow you to quickly activate a location-targeting power with a key without needing to click  (great for teleporting). Note: Before this targeting mode was introduced, the most effective way to use Teleport was to bind it to the left mouse button. Now it's not necessary, however binding Teleport to <code>shift+lbutton</code> is still useful if you like clicking to activate the power (or you could bind <code>powexec_location cursor</code> to the left mouse button for exactly the same effect).   
** '''cursor''' - Current location of the cursor. This targeting mode behaves as if the power was activated with a click at the current mouse cursor location. This will allow you to quickly activate a location-targeting power with a key without needing to click  (great for teleporting). Note: Before this targeting mode was introduced, the most effective way to use Teleport was to bind it to the left mouse button. Now it's not necessary, however binding Teleport to <code>shift+lbutton</code> is still useful if you like clicking to activate the power (or you could bind {{nobr|<code>powexec_location cursor</code>}} to the left mouse button for exactly the same effect).   
*'''Power''' is the name of the power, just like what you'd use with /powexec_name. You can put quotes around the name to make it look cleaner if you want, but they are optional.
*'''Power''' is the name of the power, just like what you'd use with /powexec_name. You can put quotes around the name to make it look cleaner if you want, but they are optional.
* This command can be used in a macro or bind.
* This command can be used in a macro or bind.

Latest revision as of 00:52, 28 November 2024

Slash Command

/powexec_location loc power

Allows location targeting powers to be used without having to click.

  • Loc is a location specifier. There's several different things you can use here:
    • me or self - Both arguments target the power on yourself.
    • target - Cast on your currently selected target. If you have no target, the power is not activated.
    • direction:distance
      • Direction can either be one of six cardinal directions relative to the player: forward, back, left, right, up, down, -or- it can be a number. If it's a number, it is taken as an angle in degrees. 0 is straight in front of you, 90 is right, etc. It can also be camera, to indicate the direction the camera is facing, including elevation.
      • Distance is either a number in world units (feet), or the keyword max, which means to use the maximum range of the power.
    • cursor - Current location of the cursor. This targeting mode behaves as if the power was activated with a click at the current mouse cursor location. This will allow you to quickly activate a location-targeting power with a key without needing to click (great for teleporting). Note: Before this targeting mode was introduced, the most effective way to use Teleport was to bind it to the left mouse button. Now it's not necessary, however binding Teleport to shift+lbutton is still useful if you like clicking to activate the power (or you could bind powexec_location cursor to the left mouse button for exactly the same effect).
  • Power is the name of the power, just like what you'd use with /powexec_name. You can put quotes around the name to make it look cleaner if you want, but they are optional.
  • This command can be used in a macro or bind.
  • Powexec_location was first introduced at Homecoming in Issue 25.

Examples

/powexec_location me Fire Imps  (Casts fire imps at your feet)
/powexec_location target Tar Patch (Casts Tar patch centered on your current target)
/powexec_location camera:max Teleport (Casts teleport where you are looking, max range)
/powexec_location target Burst of Speed (Casts Burst of Speed at your target)
/powexec_location 0:10 Caltrops (Casts Caltrops 10 feet in front of you)
/powexec_location cursor Translocation (Casts Translocation where the cursor is located)