A_ClearTracer

From DoomWiki.org

A_ClearTracer is a missile function that is part of the MBF21 specification. It removes the calling actor's current target by setting its tracer field to zero, allowing the missile to either acquire a new target or continue on unguided in its current direction. The function has no parameters.

Example[edit]

The following is an example of how to set the A_ClearTracer code pointer in a DeHackEd file using BEX syntax:

[CODEPTR]
FRAME 1234 = ClearTracer

Or using DECOHack syntax:

state 1234
{
TNT A 0 A_ClearTracer
goto 1235
}

External links[edit]