LinkToWorld

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


Actor

native void LinkToWorld(LinkContext ctx = null)

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

  • LinkContext ctx
A pointer to the LinkContext struct that contains sector and rendering sector information about the current level. This struct is normally obtained when calling UnlinkFromWorld fist.
If null (default), generates a new context for the Actor.

Examples

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.