Loc (Slash Command): Difference between revisions
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. | |||
==Example== | |||
/loc | |||
== See Also == | == See Also == | ||
* [[Coordinates]] | * [[Coordinates]] | ||
* [[ | * [[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