A_SorcSpinBalls

From ZDoom Wiki
Jump to navigation Jump to search

A_SorcSpinBalls
(no parameter)

Moves the Spawn state label up two frames. This is done so that this function is only called once.

The first argument is set to 0 to indicate that the Heresiarch has no defenses. The third (target orbit speed) and fifth (current orbit speed) argument is set to 7 (SORCBALL_INITIAL_SPEED), and the forth (movement mode) to 5 (SORC_NORMAL). Special1 (ball angle) is also set to 1 degree.

Finally SorcBall1 is spawned immediately above the calling actor and has special2 set to 18 (SORCFX4_RAPIDFIRE_TIME), and SorcBall2 and SorcBall3 are spawned in the same location.

This codepointer is restricted to Heresiarch and derived classes.