MiniDoom

src/p_telept.ml

Executes tagged line teleports, destination lookup, fog effects, and player view/momentum reset.

Package
(global)
Reachable
Yes

Imports

Declarations

_PTP_ResolveThinkerMobj

function _PTP_ResolveThinkerMobj(th)

Resolves a thinker node to its owning mobj across direct-owner and legacy thinker layouts.

ParameterTypeDefaultDescription
thdynamic—Th value supplied to `_PTP_ResolveThinkerMobj`.

View source

EV_Teleport

function EV_Teleport(line, side, thing)

Finds a destination marker with the trigger tag, relocates the activator, spawns fog effects, and resets player view and momentum.

ParameterTypeDefaultDescription
linedynamic—Map line or text line affected by the operation.
sidedynamic—Map side affected by the operation.
thingdynamic—World object affected by the operation.

View source