[ZS] A mixin that lets cycling between ammo types

Post your example zscripts/ACS scripts/etc here.

[ZS] A mixin that lets cycling between ammo types

Postby Jekyll Grim Payne » Thu Feb 25, 2021 8:06 am

This mixin will add a CycleAmmo() function to your weapon that ExtraAmmoTypes property that allows defining up to 5 ammo types. By calling CycleAmmo() you can change which ammo class the weapon uses (i.e. it's ammotype1 or ammotype2 values).

There are detailed comments in the code on how to use this.

Free to use, credits are appreciated.
You do not have the required permissions to view the files attached to this post.
User avatar
Jekyll Grim Payne
Joined: 21 Jul 2008
Discord: Agent_Ash#4401
Github ID: jekyllgrim
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia (Modern GZDoom)

Return to Script Library

Who is online

Users browsing this forum: No registered users and 0 guests