From ZDoom Wiki
Jump to navigation Jump to search
Note: This feature is for ZScript only.

void LinkToWorld([LinkContext ctx])


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.


  • 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.


Nuvolachalk.png 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.