A_FiredRocks

From ZDoom Wiki
Jump to navigation Jump to search

A_FiredRocks
(no parameter)

Spawns five actors of types FireDemonRock1, FireDemonRock2, FireDemonRock3, FireDemonRock4, or FireDemonRock5. The rocks will be spawned at some location within 8 map units in all directions from the calling actor.

On successful spawn, the x/y velocities of the rocks will be set to some value -2-2, and the z velocities will be set to some values 0-2. Additionally, their special1 value will be set to 2.

Finally, the calling actor's special2 is set to 0 and the JUSTATTACKED flag is removed.

This codepointer is restricted to FireDemon and derived classes.