xyz

Module: xyz — player_coordinates.lua

What it does

Reads the local player's current world coordinates (X, Y, Z) formatted to two decimal places and outputs them both to the game console log and as a line in the player's chat element. This is a read-only, instant, fire-and-forget module with no lasting side effects.

Trigger type

xyz

Parameters

ParameterTypeDefaultValid ValuesDescription
type string required "xyz" Module trigger identifier. This is the only parameter used by this module.

Examples

Print current coordinates
{ type="xyz" }
With optional viewer field (unused by module, passed through SIF)
{ type="xyz", viewer="StreamerName" }
Minimal trigger, channel point redeem style
{ type="xyz", user="SomeViewer" }