A_CStaffCheckBlink

From ZDoom Wiki
Revision as of 10:10, 6 September 2012 by Gez (talk | contribs) (codepointer template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A_CStaffCheckBlink

(no parameters)

If the calling actor's special1 field is zero, this sends the said calling actor into its Blink state, and sets the special1 field to a random value between 50 and 305. Otherwise decrements the special1 field by one and calls A_WeaponReady. Used in conjunction with A_CStaffInitBlink.

This codepointer is restricted to CWeapStaff and derived classes.