On Spawning NPCs

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

Moderator: Userbase Moderators

InternetPeasent
Spiny
Spiny
Posts: 28
Joined: Sat Sep 04, 2021 12:33 pm
Pronouns: he/him
Contact:

On Spawning NPCs

Postby InternetPeasent » Sun Nov 06, 2022 10:06 am

Does anyone know how to spawn NPCs? (for example, the way a fire bro spawns a fireball) Thanks!

SuperAlex
2025 Egg Hunter
2025 Egg Hunter
Posts: 226
Joined: Mon Nov 02, 2020 3:02 pm
Flair: Spriting
Pronouns: He/Him
Contact:

Re: On Spawning NPCs

Postby SuperAlex » Sun Nov 06, 2022 10:58 am

There's Only way a Lua Event to Spawn Npcs, using a Custom NPC That Spawns something
NPC.spawn(number id, number x, number y, number section, bool respawn, bool centered)


Return to “LunaLua”

Who is online

Users browsing this forum: nikita04 and 3 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari