This is similar to SPECTRAL flag whereas things can only pickup items that also has SPECIALPICKPUP flag set.
Edit: I realized there was a typo, sorry about it.
SPECIALPICKUP flag
Moderator: GZDoom Developers
- GhostKillahZero
- Posts: 742
- Joined: Wed Nov 13, 2013 4:41 pm
- Location: 343 Industries Headquarters
- Contact:
SPECIALPICKUP flag
Last edited by GhostKillahZero on Mon Oct 16, 2017 2:41 pm, edited 2 times in total.
Re: SPECIALUSE flag
This is the sort of thing you can DIY in ZScript nowadays. Inventory items provide a CanPickup virtual function that can be overridden with custom logic (simply return true if the item is pickuppable, false if not).
A super-quick how-to: create a custom property in the actor that's doing the pickupping, check for it in CanPickup, and you're in business.
A super-quick how-to: create a custom property in the actor that's doing the pickupping, check for it in CanPickup, and you're in business.