I'm trying to make a code that makes an enemy (in my case mouser) retract into a shell like larry or ludwig.

Post here for help and support regarding LunaLua and SMBX2's libraries and features.

Moderator: Userbase Moderators

TheGameyFireBro105
Eerie
Eerie
Posts: 747
Joined: Thu Jan 09, 2020 6:09 pm
Flair: Good at remakes
Pronouns: he/him

I'm trying to make a code that makes an enemy (in my case mouser) retract into a shell like larry or ludwig.

Postby TheGameyFireBro105 » Thu Jul 02, 2020 4:17 pm

Does anyone what code makes them do that?
Last edited by TheGameyFireBro105 on Thu Jul 02, 2020 9:50 pm, edited 1 time in total.

Murphmario
2025 Egg Hunter
2025 Egg Hunter
Posts: 2389
Joined: Fri Dec 20, 2013 7:07 pm
Pronouns: he/him

Re: I'm trying to make a code that makes an enemy retract into a shell like larry or ludwig.

Postby Murphmario » Thu Jul 02, 2020 5:11 pm

Make it so that when they get harmed by a specific harm type (I.E being jumped on), they turn into a different NPC.

TheGameyFireBro105
Eerie
Eerie
Posts: 747
Joined: Thu Jan 09, 2020 6:09 pm
Flair: Good at remakes
Pronouns: he/him

Re: I'm trying to make a code that makes an enemy retract into a shell like larry or ludwig.

Postby TheGameyFireBro105 » Thu Jul 02, 2020 9:47 pm

How do i do that, tho? I also want it to go back to normal after retreating. It's either this, or make Larry throw bombs. Is that a good bet?

Can u send me the lua code to make Mouser use larry's shell behaviors (AKA have him retreat into the shell, then have him come out?)
Last edited by ElectriKong on Fri Jul 03, 2020 2:56 am, edited 1 time in total.
Reason: Merged double post


Return to “LunaLua Help”

Who is online

Users browsing this forum: No registered users and 1 guest

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari