itemReleaseFix.lua - Fix held NPC wall jank

Share and discuss custom LunaLua code and content packs for SMBX2.

Moderator: Userbase Moderators

MrDoubleA
Edward
Edward
Posts: 394
Joined: Mon Aug 20, 2018 7:02 am
Flair: How much munchers?

itemReleaseFix.lua - Fix held NPC wall jank

Postby MrDoubleA » Tue Sep 19, 2023 5:55 pm

A small script that fixes held NPCs dying or falling through walls when released or thrown into a wall.

Image

Download

To use, put the file in your episode/level folder and add the following line to your luna.lua file:

Code: Select all

local itemReleaseFix = require("itemReleaseFix")

mariobrigade2018
Rocky Wrench
Rocky Wrench
Posts: 681
Joined: Wed May 24, 2023 7:00 pm
Flair: OK in coding who dreams of making a Mario game
Pronouns: he/him

Re: itemReleaseFix.lua - Fix held NPC wall jank

Postby mariobrigade2018 » Sun Oct 08, 2023 5:56 pm

YOOOOOO! NO MORE NPC CLIPPING WOOOOOOOOOOOOOOOOOOOOOO!

punkitt
Spiny
Spiny
Posts: 25
Joined: Sun Jun 11, 2023 4:31 pm
Pronouns: she/her
Contact:

Re: itemReleaseFix.lua - Fix held NPC wall jank

Postby punkitt » Tue Oct 10, 2023 10:59 pm

oh thank god u are an ANGEL for this


Return to “LunaLua”

Who is online

Users browsing this forum: RadMetalMarioSMIX and 1 guest

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari