Skip to content

event onWorldChange (client-side)

Available since version: 0.0.4

This event can be canceled

Note

This event can be only cancelled, when is triggered by map (ZEN) scripts. In any other case, you cannot prevent from world change.

This event is triggered when user tries to change currently played world (ZEN).

Parameters

string world, string waypoint
  • string world: a filename name of the world.
  • string waypoint: a name of the waypoint that the player will be teleported to.