How to check if a Weapon is Dropped ?

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
GENTEK
Posts: 673
Joined: Mon Aug 05, 2013 5:10 pm

How to check if a Weapon is Dropped ?

Post by GENTEK »

I would like to know if it's doable to check or execute something based on the case where the player could drop is actual weapon ?
Since I use +FlatSprite Flag for my pickup items the problem is when the player drop these X items they stay with the same roll, pitch & angle parameter... so they need to be set to 0 when the player drop them!
Thanks in advance friends! :D
Image
User avatar
Zergeant
Posts: 108
Joined: Tue Aug 31, 2010 7:19 am
Location: Sweden

Re: How to check if a Weapon is Dropped ?

Post by Zergeant »

Try checking for INVENTORY.TOSSED?
GENTEK
Posts: 673
Joined: Mon Aug 05, 2013 5:10 pm

How to check if a Weapon is Dropped ?

Post by GENTEK »

No this Flag don't fix the problem! :(

Return to “Editing (Archive)”