sm.portal.addWorldPortalHook

Adds a hook that a new world can find to hook up the other side of a portal.

Kind: Function

Environments: Game

Game

sm.portal.addWorldPortalHook( world, name, portal )

Open the full Game reference

Availability: Server only

Parameters:

Name Type Description
world World The target world.
name string The portal name.
portal Portal The portal.