Weapon slot replaced with modified weapon???

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Post Reply
User avatar
Graaicko
Posts: 531
Joined: Tue Jun 17, 2014 11:22 pm
Graphics Processor: nVidia (Legacy GZDoom)

Weapon slot replaced with modified weapon???

Post by Graaicko »

Hello. I was wondering if it is possible to make it where, lets say you have a unsuppressed weapon. and you pick up the another weapon that is different. (in my case its the same weapon but is modded out, Suppressed and has a laser sight.) and it replaces your default version of your weapon. So it basically selects the new modified weapon you pick it up and uses its slot (replaces original unsuppressed weapon. The unsuppressed weapon is deleted from your inventory and cannot be picked up and used unless you drop the modified weapon.
Post Reply

Return to “Scripting”