ZeroCheckMate Posted July 9, 2020 (edited) I set this monster to drop his sunglasses when he dies, but he doesn't. I thought maybe these sunglasses were a problem, so I changed them to Cell, but they still don't come off. What's the problem? Test.zip Edited July 9, 2020 by ZeroCheckMate 0 Quote Share this post Link to post
1 UndeadRyker Posted July 9, 2020 (edited) It looks like it's because the drop chance is only set to 2. Setting the 2 to 256 will make it a guaranteed drop. https://zdoom.org/wiki/DropItem Edit: That only fixes its low chance. You need the death state to call the A_NoBlocking function. You really should have that set anyway otherwise corpses will block the player. Edited July 9, 2020 by UndeadRyker clarification 1 Quote Share this post Link to post
Question
ZeroCheckMate
I set this monster to drop his sunglasses when he dies, but he doesn't. I thought maybe these sunglasses were a problem, so I changed them to Cell, but they still don't come off. What's the problem?
Test.zip
Edited by ZeroCheckMateShare this post
Link to post
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.