From ZDoom Wiki
Jump to navigation Jump to search

(no parameters)

Does nothing if the calling actor's args[4] field is null. Otherwise, moves it in its current direction, at a speed determined by its args[0] field, and use args[3] as a countdown, decrementing it at each call and putting the calling actor in its death state once it goes below 0. Every four calls, the calling actor's Z-position is slightly adjusted as if it had the FLOATBOB flag, its special2 field is used to keep track of the floatbob sequence.

This codepointer is restricted to FogPatchSmall and derived classes.