WorldThingPrePickedup & WorldThingPickedup (incomplete)

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: WorldThingPrePickedup & WorldThingPickedup (incomplete)

Re: WorldThingPrePickedup & WorldThingPickedup (incomplete)

by Rachael » Mon Mar 04, 2019 12:58 pm

This PR was closed more than a month ago.

WorldThingPrePickedup & WorldThingPickedup (incomplete)

by XxMiltenXx » Fri Apr 27, 2018 11:15 am

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.

Top