Killevent for Koopa Troopas (id4)?
Posted: Mon Jan 01, 2018 3:32 pm
Hi!
I am using LunaLua to make a few changes to NPC id=4, the koopa troopas. Succeeded overall, but not figured out how to deal with the onNPCKill () event for these creatures. Seems that if you jump on them, they actually have no kill event. Are they turned into shells instead (id 5)? If so, are there any offset values that indicate this shift? Put simply, I want to be able to cancel any kill event and allow the koopa troopas better health. I've tried to turn any new shells into koopa troopas (NPC.id=4), but am not entirely happy with the results.
Hope someone knows a resolution.
Best /A
I am using LunaLua to make a few changes to NPC id=4, the koopa troopas. Succeeded overall, but not figured out how to deal with the onNPCKill () event for these creatures. Seems that if you jump on them, they actually have no kill event. Are they turned into shells instead (id 5)? If so, are there any offset values that indicate this shift? Put simply, I want to be able to cancel any kill event and allow the koopa troopas better health. I've tried to turn any new shells into koopa troopas (NPC.id=4), but am not entirely happy with the results.
Hope someone knows a resolution.
Best /A