Loc (Slash Command): Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
m (added note about thumbtack link)
No edit summary
 
(4 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 Z Y 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 the East-West position of the entity, the Z value corresponds to altitude or Up-Down position of the entity, and the Y value corresponds to its North-South position. Larger values of Y are further to the South, larger values of Z increase altitude, and larger values of X are further to the West. Note that, for X & Y, this may be the reverse of what is intuitive for many.
==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