A_JumpIfNoAmmo
From ZDoom Wiki
A_JumpIfNoAmmo (int offset)
A_JumpIfNoAmmo (str state)
| Warning: Using state labels as arguments without quotation marks has been deprecated and will no longer work. Make sure to enclose all your string arguments with quotation marks to ensure full compatibility with future ZDoom versions. Refer to the available example(s) for proper usage |
This function can only be used with weapons. It jumps if the carrying player doesn't have enough ammunition for one attack.
Examples
| Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contibutions are greatly appreciated. |

