A_FireMacePL2

From ZDoom Wiki
Jump to navigation Jump to search

A_FireMacePL2
(no parameter)

Fires a MaceFX4 and plays the sound "weapons/maceshoot" on the WEAPON channel. The player's horizontal velocities are added to the ball's owns, so that player momentum is transferred to the projectile. The ball's vertical velocity is greater by two points than dictated by the player's pitch, through clamped between +7 and -3. If the player has a possible target straight ahead, this target is put in the ball's tracer field.

This codepointer is restricted to MacePowered and derived classes.