A_WraithChase

From ZDoom Wiki
Jump to navigation Jump to search

A_WraithChase
(no parameter)

Performs a FLOATBOB like effect based on the index stored in special1. Special1 is incremented by 2 each call and then modulated by 64.

Calls A_Chase and then has a 6% chance of spawning a WraithFX4 and a separate 6% chance of spawning a WraithFX5. The WraithFX4 will be spawned within 8 map units of the calling actor, and the WraithFX5 will be spawned with 4 map units. Both will spawn 4 units above the calling actor's feet.

This codepointer is restricted to Wraith and derived classes.