ClearDropItems()

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

Accensus
Posts: 2383
Joined: Thu Feb 11, 2016 9:59 am

ClearDropItems()

Post by Accensus »

The idea is to clear the DropItems list of the calling actor.

Usage scenarios:
A) In Universal Gibs, the corpses can be gibbed and they drop their items again. The workaround is probably hacks. Lots of hacks. I don't like that. I can use that there. (Reason why I'm making the thread.)
B) In case of Archvile resurrection. Some modders may not want resurrected enemies to drop stuff after death.
User avatar
Major Cooke
Posts: 8175
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

Re: ClearDropItems()

Post by Major Cooke »

While we're on the topic of that, I think an actual DropItems virtual could be implemented too, which is called by A_Fall/A_NoBlocking.
Post Reply

Return to “Feature Suggestions [GZDoom]”