Skip to content

event onPortalChange (client-side)

Available since version: 0.3.0

This event is triggered when hero is changing the portal on the ZEN in which he's currently located.

Parameters

string oldSectorName, string newSectorName
  • string oldSectorName: the name of portal in which the hero was before the change.
  • string newSectorName: the name of portal in which the hero is currently located.