Page 1 of 1
NPC
Posted: Sun Oct 16, 2016 3:22 pm
by Morty MCdonalds
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?

Re: NPC
Posted: Sun Oct 16, 2016 3:46 pm
by HeroLinik
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!
Re: NPC
Posted: Sun Oct 16, 2016 4:46 pm
by Morty MCdonalds
Ok I'm a little confused (I'm new to all this), how do I hide a NPC
Re: NPC
Posted: Sun Oct 16, 2016 4:51 pm
by PixelPest
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)
Re: NPC
Posted: Sun Oct 16, 2016 6:35 pm
by Morty MCdonalds
Jesus, I don't get any of that. I'll try later, thanks for the help
Re: NPC
Posted: Sun Oct 16, 2016 6:51 pm
by Danny
The legacy editor has a help file if you need it.
Re: NPC
Posted: Mon Oct 17, 2016 6:40 pm
by Super Mario Channel
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.
Re: NPC
Posted: Mon Oct 17, 2016 9:29 pm
by Morty MCdonalds
IT WORKED!!! Thank you!!!