CheckPortalTransition
Jump to navigation
Jump to search
Note: This feature is for ZScript only. |
protected native void CheckPortalTransition([bool linked])
Usage
Checks if the Actor should teleport when moving through the top or bottom of a sector portal. If so, moves them to the appropriate location. Useful when creating custom movement code that is portal aware.
Parameters
- linked - True by default. If true, this Actor will be unlinked and relinked to the world when moving through the portal.
Examples
![]() |
Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated. |