Shake Screen

Summary

Shake screen causes the camera to shake.

The coordinates of the shake are always done in 3D space, corresponding to the number of tiles to potentially move across. As such, X and Z correspond to horizontal and vertical movement along the tile map, while Y corresponds to the height.

Note: In battles that occur on user interface, the X and Z coordinates correspond to the number of pixels moved, rather than tiles.

Parameters

NameExplanationType
Run AsynchronouslyWhether or not to run the command asynchronously, such that it does not block the following commands from executing.Toggle
DurationThe total number of milliseconds to shake the screen.Variable or Value
XThe amount of displacement along the X axis.Variable or Value
YThe amount of displacement along the Y axis.Variable or Value
ZThe amount of displacement along the Z axis.Variable or Value