HandleDecrement

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

XLightningStormL
Posts: 389
Joined: Mon May 09, 2016 1:38 am
Location: Anywhere but here

HandleDecrement

Post by XLightningStormL »

HandleDecrement would be the reversed version of HandlePickup; in the sense that HandlePickup is tied to A_GiveInventory (and GiveInventory) HandleDecrement would be tied to A_TakeInventory (and TakeInventory)

Such a virtual bool would be useful for things like a dynamic weight system (no longer requiring unnecessary code bloat in custom actions and the like) there's probably other examples as well.

UPDATE: Thread no longer necessary.

Refer to This code submission instead

Return to “Feature Suggestions [GZDoom]”