|Note: This feature is for ZScript only.|
protected native void CheckPortalTransition([bool linked])
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.
- linked - True by default. If true, this Actor will be unlinked and relinked to the world when moving through the portal.
|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. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated.|