Location At (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.0

Syntax

[the] (location|position) [at] [\(][x[ ][=[ ]]]%number%, [y[ ][=[ ]]]%number%, [and] [z[ ][=[ ]]]%number%[\)] [[(in|of) [[the] world]] %world%]

Description

Allows to create a <a href='#location'>location</a> from three coordinates and a world.

Examples

set {_loc} to the location at arg-1, arg-2, arg-3 of the world arg-4
distance between the player and the location (0, 0, 0) is less than 200

View source