NPC

Need help with any SMBX game-related issues? Ask your questions here.
Forum rules
Before you make a topic/post, consider the following:
-Is there a topic for this already?
-Is your post on-topic/appropriate?
-Are you posting in the right forum/following the forum rules?
User avatar
Morty MCdonalds
Goomba
Goomba
Posts: 4
Joined: Wed Oct 12, 2016 4:27 pm
Current Project: In progress

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? :?:

User avatar
HeroLinik
Cyan Yoshi Egg
Cyan Yoshi Egg
Posts: 3433
Joined: Fri Dec 20, 2013 1:28 pm
Current Project: Stupid university assignments :/
Chat Username: Look below my avatar
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!
Image
I support: show
Lol, you got trolled. Move along, if you please.
Check out my content on YouTube! // Don't forget to check out my project as well!

User avatar
Morty MCdonalds
Goomba
Goomba
Posts: 4
Joined: Wed Oct 12, 2016 4:27 pm
Current Project: In progress

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

User avatar
PixelPest
Link
Link
Posts: 7129
Joined: Sun Jul 12, 2015 5:38 pm
Flair: Tamer of Boom Booms
Current Project: Boom Boom Evolution
Chat Username: PixelPest
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)

User avatar
Morty MCdonalds
Goomba
Goomba
Posts: 4
Joined: Wed Oct 12, 2016 4:27 pm
Current Project: In progress

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

User avatar
Danny
Mario
Mario
Posts: 4037
Joined: Fri Dec 20, 2013 1:12 pm
Chat Username: Syndrilevosse#3884

Re: NPC

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

The legacy editor has a help file if you need it.
I used to be 8bitmushroom but not anymore.
If you need to get in contact with me, message me on Discord.

Super Mario Channel
Bit
Bit
Posts: 149
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
DELETE THIS ACCOUNT PLZ

User avatar
Morty MCdonalds
Goomba
Goomba
Posts: 4
Joined: Wed Oct 12, 2016 4:27 pm
Current Project: In progress

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: No registered users and 1 guest