Is it possible to script changing an enemies dropset? I have a scripted item that kills enemies in one shot but I want to make it so that when you do so, the enemies don't drop items. I know you could probably just move enemies off screen but I still want their defeated 'poof' to appear & sound effect to play upon killing them with said item. I just don't want them to drop any items.
Change Dropset?
#1
Posted 28 December 2020 - 04:12 PM
#2
Posted 28 December 2020 - 04:27 PM
It should be possible with "ItemSet"
npc SomeNPC; SomeNPC = Screen->LoadNPC(1); SomeNPC->ItemSet = IS_NONE;
Like this
- Lüt likes this
#3
Posted 28 December 2020 - 04:48 PM
Also, if you want the enemies not to play the death SFX, you can kill them by doing
n->HP = HP_SILENT;
which will kill them (that is less than 0 HP), and not play the death sound (because hardcoded jank)
- Twilight Knight, Mitchfork and Bagu like this
#4
Posted 29 December 2020 - 04:17 AM
Also, if you want the enemies not to play the death SFX, you can kill them by doing
n->HP = HP_SILENT;which will kill them (that is less than 0 HP), and not play the death sound (because hardcoded jank)
While I don't think that's what idontknow8 wants, that is very useful to know!
- Bagu likes this
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users