A MaceBallImpact2
If the calling actor is in a bounce, reduces the vertical speed to 75% and returns to the Spawn state. Additionally, spawn on both side of the calling actor a MaceFX3, and give them half the horizontal speed, and the reduced vertical speed, of the calling actor, on divergent angles.
A_MaceBallImpact
(no parameter)
Otherwise, then it sets the calling actor's speed to 0 in all directions, gives it the NOGRAVITY flag, and sets the bounce type to "none".
This codepointer is meant to be used with projectiles using the "Heretic" or "HereticCompat" bounce types, as they put the bouncer in its death state during the bounce. This codepointer is restricted to MaceFX2 and actors inheriting from it.
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.