Loc (Slash Command): Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
m (updating coordinate notation for consistency, and text clarification)
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:
{{SlashCommandArticle|
{{SlashCommandArticle|
command=loc|
command=loc|
aliases=|
aliases={{slashcommand|getpos}}|
note=Returns the player's current map location (in-game coordinates) as X Y Z values.}}
note=Returns the player's current map location (in-game coordinates) as X Y Z values.}}


The coordinates are returned as a clickable [[Thumbtack (Slash Command)|thumbtack]] link that can be copy/pasted into any chat channel as a means of easily sharing location information.
* The coordinates are returned as a clickable [[Thumbtack (Slash Command)|thumbtack]] link that can be copy/pasted into any chat channel as a means of easily sharing location information.
* The X value denotes horizontal position in the east-west direction, the Y value denotes vertical position (altitude), and the Z value denotes horizontal position in the north-south direction. More information may be found on the [[Coordinates]] page.
* The numerical values returned represent units of in-game feet.
* Alternately, and perhaps easier, instead of a slash (/) prefix use a dollar sign ($) and your location will be automatically sent through chat. For example, <code>$loc</code>. This new [[Variables|chat variable]] debuted in Issue 27, Page 2.


The X value corresponds to East-West position, the Y value corresponds to altitude or Up-Down position, and the Z value corresponds to North-South position. Values of X are more positive to the West, values of Y are more positive while traveling upwards, and values of Z are more positive to the South. Note that, for X & Z, the direction of positive coordinate increase may be the reverse of what is intuitive compared to real-world coordinate applications.
==Example==
 
/loc
The numerical values returned represent units of in-game feet.


== See Also ==
== See Also ==
* [[Coordinates]]
* [[Coordinates]]
* [[Thumbtack (Slash Command)]]
* [[Variables]]
* {{slashcommand|thumbtack}}
* {{slashcommand|whereami}}


[[Category:Slash Commands]]
[[Category:Slash Commands]]

Latest revision as of 05:01, 24 July 2022

Slash Command

/loc  
Aliases: '/getpos'

Returns the player's current map location (in-game coordinates) as X Y Z values.

  • The coordinates are returned as a clickable thumbtack link that can be copy/pasted into any chat channel as a means of easily sharing location information.
  • The X value denotes horizontal position in the east-west direction, the Y value denotes vertical position (altitude), and the Z value denotes horizontal position in the north-south direction. More information may be found on the Coordinates page.
  • The numerical values returned represent units of in-game feet.
  • Alternately, and perhaps easier, instead of a slash (/) prefix use a dollar sign ($) and your location will be automatically sent through chat. For example, $loc. This new chat variable debuted in Issue 27, Page 2.

Example

/loc

See Also