Direction
enum class Direction( val orientationValue: Int, val playerWalkValue: Int, val npcWalkValue: Int, val objectRotationValue: Int = -1)on_world_start { val start = Tile4.global(3222, 3218) val guard = World.spawn(Assets.Npc.hans, start, facing = Direction.North) val ahead = Tile4.global(start.tile.x + Direction.North.getDeltaX(), start.tile.z + Direction.North.getDeltaZ()) guard.teleport(ahead)}orientationValue
Section titled “orientationValue”val orientationValue: IntplayerWalkValue
Section titled “playerWalkValue”val playerWalkValue: IntnpcWalkValue
Section titled “npcWalkValue”val npcWalkValue: IntobjectRotationValue
Section titled “objectRotationValue”val objectRotationValue: IntNoneNorthWest
Section titled “NorthWest”NorthWestNorthNorthEast
Section titled “NorthEast”NorthEastWestEastSouthWest
Section titled “SouthWest”SouthWestSouthSouthEast
Section titled “SouthEast”SouthEastgetDeltaX
Section titled “getDeltaX”fun getDeltaX(): IntgetDeltaZ
Section titled “getDeltaZ”fun getDeltaZ(): Intval angle: Int