A_CStaffCheckBlink

From ZDoom Wiki
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.