LinkToWorld

Note: This feature is for ZScript only.

void LinkToWorld([LinkContext ctx])

Usage

Links the Actor back into the sector it's currently in and the block map if it doesn't have the flags preventing it from doing so. This function is largely only used after an Actor has been unlinked or if it was never linked to begin with.

Parameters

  • ctx - null by default. Contains sector and rendering sector information about the current level. This is often retrieved when unlinking from the world. If null, generates a new context for the Actor.

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.
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.