WorldThingPrePickedup & WorldThingPickedup (incomplete)

Moderator: GZDoom Developers

Post Reply
XxMiltenXx
Posts: 219
Joined: Wed Jan 08, 2014 8:40 am
Graphics Processor: nVidia with Vulkan support
Location: Germany

WorldThingPrePickedup & WorldThingPickedup (incomplete)

Post by XxMiltenXx »

PR: https://github.com/coelckers/gzdoom/pull/469

This implements WorldThingPrePickedUp and WorldThingPickedUp as events for the Event handlers, however, as pretty much all of the inventory handling is virtualized I was unsure where to place the corresponding functions, so I will leave that up to you.

WorldThingPrePickedUp is right before the item would be going into the inventory. If "shouldpickup" return false in the event, it will be prevented.
User avatar
Rachael
Posts: 13532
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: WorldThingPrePickedup & WorldThingPickedup (incomplete)

Post by Rachael »

This PR was closed more than a month ago.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”