sm.portal.popWorldPortalHook
Finds and pops world hook for this world if present.
Kind: Function
Environments: Game
Game
sm.portal.popWorldPortalHook( name, world )
Availability: Server only
Parameters:
| Name | Type | Description |
|---|---|---|
name |
string | The portal name. |
world (optional) |
World | The world to look in (Optional, defaults to world from script context) |
Returns:
| Type | Description |
|---|---|
| Portal | The portal. Nil if nothing was found. |