A_ChangeInventoryFlag

Moderator: GZDoom Developers

Post Reply
User avatar
NeuralStunner
 
 
Posts: 12328
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space
Contact:

A_ChangeInventoryFlag

Post by NeuralStunner »

A version of A_ChangeFlag that targets the calling inventory item's flags, not the owner's.

Some flags that could potentially benefit from runtime toggling:
  • INVENTORY.UNDROPPABLE
  • INVENTORY.UNTOSSABLE
  • WEAPON.NOAUTOFIRE
  • WEAPON.DONTBOB
  • WEAPON.NOALERT
  • WEAPON.NO_AUTO_SWITCH
  • WEAPON.NOAUTOAIM
  • Other visual & behavior flags added in the future.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49232
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: A_ChangeInventoryFlag

Post by Graf Zahl »

Not needed with scripting.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”