setExactMove

fun setExactMove(deltaX1: Int, deltaZ1: Int, delay1: Int, deltaX2: Int, deltaZ2: Int, delay2: Int, angle: Int)

Sets an exact movement for this avatar. It should be noted that this is done in conjunction with actual movement, as the exact move extended info block is only responsible for visualizing precise movement, and will synchronize to the real coordinate once the exact movement has finished.

Parameters

deltaX1

the coordinate delta between the current absolute x coordinate and where the avatar is going.

deltaZ1

the coordinate delta between the current absolute z coordinate and where the avatar is going.

delay1

how many client cycles (20ms/cc) until the avatar arrives at x/z 1 coordinate.

deltaX2

the coordinate delta between the current absolute x coordinate and where the avatar is going.

deltaZ2

the coordinate delta between the current absolute z coordinate and where the avatar is going.

delay2

how many client cycles (20ms/cc) until the avatar arrives at x/z 2 coordinate.

angle

the angle the avatar will be facing throughout the exact movement, with 0 implying south, 512 west, 1024 north and 1536 east; interpolate between to get finer directions.