NPC

Need help with any SMBX game-related issues? Ask your questions here.

Moderator: Userbase Moderators

Morty MCdonalds
Goomba
Goomba
Posts: 4
Joined: Wed Oct 12, 2016 4:27 pm

NPC

Postby Morty MCdonalds » Sun Oct 16, 2016 3:22 pm

Guys, I need some help. I'm trying to make a Npc say something different after the player hit a specific Block. Can somebody tell me how? :?:

HeroLinik
Larry Koopa
Larry Koopa
Posts: 3464
Joined: Fri Dec 20, 2013 1:28 pm
Contact:

Re: NPC

Postby HeroLinik » Sun Oct 16, 2016 3:46 pm

So first of all, you'll need two copies of the NPC. One of them will say the thing before hitting the block, the other one will say the thing after hitting the block. Put them onto two separate layers, then put them both in the same place (to do so, hide the first NPC and put the second NPC where the first NPC was hidden, then reshow the first NPC). Now open the Events window, and make an event that hides the first NPC, and shows the second NPC. Make sure "No Smoke" or "Disable smoke transition" (depending on whether you're using SMBX or PGE) is checked. Now go to the block you want to hit, and under the "Events" window, under "Hit", select the event you just made. You're good to go!

Morty MCdonalds
Goomba
Goomba
Posts: 4
Joined: Wed Oct 12, 2016 4:27 pm

Re: NPC

Postby Morty MCdonalds » Sun Oct 16, 2016 4:46 pm

Ok I'm a little confused (I'm new to all this), how do I hide a NPC

PixelPest
Link
Link
Posts: 7111
Joined: Sun Jul 12, 2015 5:38 pm
Flair: Tamer of Boom Booms
Contact:

Re: NPC

Postby PixelPest » Sun Oct 16, 2016 4:51 pm

You put it in a layer and hide it via an event. You might want to read XerX's First Time Users Guide to SMBX. It's stickied in the Help and Support forum (this one)

Morty MCdonalds
Goomba
Goomba
Posts: 4
Joined: Wed Oct 12, 2016 4:27 pm

Re: NPC

Postby Morty MCdonalds » Sun Oct 16, 2016 6:35 pm

Jesus, I don't get any of that. I'll try later, thanks for the help

Danny
Wart
Wart
Posts: 4001
Joined: Fri Dec 20, 2013 1:12 pm
Flair: aka LMNtals
Pronouns: he/they

Re: NPC

Postby Danny » Sun Oct 16, 2016 6:51 pm

The legacy editor has a help file if you need it.

Super Mario Channel
Tweeter
Tweeter
Posts: 147
Joined: Sun Dec 06, 2015 8:08 am

Re: NPC

Postby Super Mario Channel » Mon Oct 17, 2016 6:40 pm

Morty MCdonalds wrote:Jesus, I don't get any of that. I'll try later, thanks for the help
This should help, all made by meh... heh.
Spoiler: show
Image
Image
Image
Image
Image
Image

Morty MCdonalds
Goomba
Goomba
Posts: 4
Joined: Wed Oct 12, 2016 4:27 pm

Re: NPC

Postby Morty MCdonalds » Mon Oct 17, 2016 9:29 pm

IT WORKED!!! Thank you!!!


Return to “Help and Support”

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari