WorldThingPrePickedup & WorldThingPickedup (incomplete)

Like feature suggestions, but you've actually written code to make it happen. More likely to make it into the game than some random request in feature suggestions.

Moderator: GZDoom Developers

Forum rules
Please see Code submission guidelines

GZDoom Status:
Image Image

Link to Legacy Repo

QZDoom Status:
Image Image

WorldThingPrePickedup & WorldThingPickedup (incomplete)

Postby XxMiltenXx » Fri Apr 27, 2018 12:15 pm


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.
Joined: 08 Jan 2014

Return to Code Submissions

Who is online

Users browsing this forum: No registered users and 1 guest