A CheckRailReload: Difference between revisions
DrinkyBird (talk | contribs) (Created page with "{{DISPLAYTITLE:{{PAGENAMEE}}}} {{DECORATEWarning}} {{DeprecatedWarning|newfeature=advanced DECORATE functionality}} void '''A_CheckRailReload''' (void) ==Usage== Jumps to F...") |
DrinkyBird (talk | contribs) (Remove an annoying empty paragraph at the start of the page) Tag: Source edit |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:{{PAGENAMEE}}}} | {{DISPLAYTITLE:{{PAGENAMEE}}}}{{DECORATEWarning}} | ||
{{DECORATEWarning}} | |||
{{DeprecatedWarning|newfeature=advanced DECORATE functionality}} | {{DeprecatedWarning|newfeature=advanced DECORATE functionality}} | ||
Line 28: | Line 27: | ||
</pre> | </pre> | ||
[[Category:DECORATE | [[Category:DECORATE functions]] |
Latest revision as of 20:38, 2 January 2023
This article documents a Zandronum-specific DECORATE feature which may not be supported by ZDoom and its other child ports. |
Warning: This feature is deprecated and has been superceded by advanced DECORATE functionality. Usage in new projects is not recommended. |
void A_CheckRailReload (void)
Usage
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.
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