A_CheckRailReload

From ZDoom Wiki
Jump to navigation Jump to search
SkulltagIcon.png Warning: This feature is Skulltag specific, and is not compatible with ZDoom!
To see all of Skulltag's specific features, see Skulltag features.

A_CheckRailReload (void) (deprecated)

Jumps to Fire+8 if this function has not been called for the fourth time. It also checks if there is ammo left for the weapon. This function must only be used on the Skulltag railgun and therefore is deprecated.

Warning: This function is limited to Skulltag's railgun and it's derived classes!

Examples

Fire:
    RLGG E 12 A_FireRailgun
    RLGG F 6 A_CheckRailReload
    RLGG G 6
    RLGG H 6
    RLGG I 6
    RLGG J 6
    RLGG K 6
    RLGG L 6
    RLGG A 6
    RLGG M 0 A_ReFire
    goto Ready


See also