Loc (Slash Command): Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
{{SlashCommandArticle|
{{SlashCommandArticle|
command=loc|
command=loc|
aliases={{slashcommand|get_pos}}|
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.


Note that 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.
==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