Page 1 of 1

NPC Configuration Mechanic

Posted: Fri Jan 06, 2023 8:32 pm
by MarioChallengerX2
So, I was tinkering around with the editor and I decided to set up some goofy settings with the sideways springs, making them grabbable and hurt by fireballs and hammers and.... it did not work.

Okay, why not? Do I need to edit it with Lua or something? Is there a second option to enable it in lua necessary?

Re: NPC Configuration Mechanic

Posted: Fri Jan 06, 2023 9:25 pm
by Emral
Probably didn't work for this NPC in particular because
- springs aren't registered to take damage from NPCs
- nohammer as a config flag doesn't exist in SMBX2 to begin with
- Sideways springs automatically push approaching players away, so they likely don't get a chance to grab them

There's generally no guarantee that all npc config flags work as one would expect with all NPCs, especially if the interaction is distinctly goofy.