A_BounceCheck

From ZDoom Wiki
Revision as of 22:18, 3 August 2009 by Gez (talk | contribs) (Created page with '{{DISPLAYTITLE:A_BounceCheck}} '''A_BounceCheck'''<br /> (no parameters) Decrements the calling actor's '''args[4]''' variable. If resulting value is negative, also decrements t…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A_BounceCheck
(no parameters)

Decrements the calling actor's args[4] variable. If resulting value is negative, also decrements the args[3] variable by one. If that one becomes negative too, plays the sound "SorcererBigBallExplode" and sets the calling actor in its Death state; otherwise resets the args[4] field to a value of 17.

This codepointer is restricted to SorcBall and actors inheriting from it.