How do I set the behavior for a custom Boss NPC?

Need help with any SMBX game-related issues? Ask your questions here.
User avatar
Animebryan
Blooper
Blooper
Posts: 188
Joined: Fri Jun 03, 2016 5:40 pm
Flair: Need help!
Current Project: Star of Darkness
Contact:

How do I set the behavior for a custom Boss NPC?

Postby Animebryan » Sun Nov 10, 2019 12:30 am

How do I set the behavior for a custom Boss NPC? Does it have to copy a pre-existing Boss NPC or can it be fully customizable, including generating other NPCs?
Need serious help with Lua based features :(

User avatar
1AmPlayer
Volcano Lotus
Volcano Lotus
Posts: 542
Joined: Sun May 21, 2017 3:36 am
Flair: I'm a hellspawn.
Current Project: Mega Man NPC Pack (and more)
Chat Username: IAmPlayer
Contact:

Re: How do I set the behavior for a custom Boss NPC?

Postby 1AmPlayer » Sun Nov 10, 2019 12:51 am

you can make a fully customizable ai for a boss npc if the npc id is in the custom range (751-1000). Creating an AI is the same process as how you would do it with custom NPCs. Generating other NPC is one of the simple ones, you can make it work on a timer, or certain conditions, then use NPC.spawn to spawn other NPCs.


Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 6 guests