Need Help With A Certain Event

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

Moderator: Userbase Moderators

King Mario
Blooper
Blooper
Posts: 170
Joined: Sun Nov 19, 2017 2:13 pm
Flair: Jesus Christ is King!
Pronouns: he/him
Contact:

Need Help With A Certain Event

Postby King Mario » Fri Jan 06, 2023 1:13 pm

Hi there! I'm making Desert Castle Adventure, my submission for the Bad2Good Level Contest. I'm more than half-finished. I'm trying to create an event where unlocking a Keygate makes a Toad disappear and another Toad appear. Do you have any suggestions or advice?

deice
Rocky Wrench
Rocky Wrench
Posts: 637
Joined: Fri Jul 23, 2021 7:35 am

Re: Need Help With A Certain Event

Postby deice » Fri Jan 06, 2023 1:21 pm

King Mario wrote:
Fri Jan 06, 2023 1:13 pm
Hi there! I'm making Desert Castle Adventure, my submission for the Bad2Good Level Contest. I'm more than half-finished. I'm trying to create an event where unlocking a Keygate makes a Toad disappear and another Toad appear. Do you have any suggestions or advice?
if by "keygate" you mean npc-255 then you should just be able to set the event as its "death" event and it will trigger when you unlock it. as for the event itself, just having the toads each on their own layer and then hiding the first and showing the second should do the trick.

King Mario
Blooper
Blooper
Posts: 170
Joined: Sun Nov 19, 2017 2:13 pm
Flair: Jesus Christ is King!
Pronouns: he/him
Contact:

Re: Need Help With A Certain Event

Postby King Mario » Fri Jan 06, 2023 1:54 pm

I've set the Toad that appears in a shown Layer and the Toad that I want to appear in a hidden Layer. The "death" event for npc-255 is set correctly. Layer is default for the keygate. Toad #1 is in Hide and Toad #2 is in Show inside the Event. And after unlocking, it still only shows me the first Toad.

Am I missing something?

deice
Rocky Wrench
Rocky Wrench
Posts: 637
Joined: Fri Jul 23, 2021 7:35 am

Re: Need Help With A Certain Event

Postby deice » Fri Jan 06, 2023 2:09 pm

King Mario wrote:
Fri Jan 06, 2023 1:54 pm
I've set the Toad that appears in a shown Layer and the Toad that I want to appear in a hidden Layer. The "death" event for npc-255 is set correctly. Layer is default for the keygate. Toad #1 is in Hide and Toad #2 is in Show inside the Event. And after unlocking, it still only shows me the first Toad.

Am I missing something?
you'd have to be missing something, as the same setup works just fine on my end:
Image

are you certain that everything is set correctly? maybe double-check whether everything is exactly as you described. there might also be external factors such as any lua you have loaded that are causing problems.

King Mario
Blooper
Blooper
Posts: 170
Joined: Sun Nov 19, 2017 2:13 pm
Flair: Jesus Christ is King!
Pronouns: he/him
Contact:

Re: Need Help With A Certain Event

Postby King Mario » Fri Jan 06, 2023 3:25 pm

deice wrote: Image

are you certain that everything is set correctly? maybe double-check whether everything is exactly as you described. there might also be external factors such as any lua you have loaded that are causing problems.
Well, I did add quite a couple SMBX2-exclusive elements, such as MDA's Keys and Key Coins. Perhaps that is causing the issue?


Return to “Help and Support”

Who is online

Users browsing this forum: Ahrefs [Bot] and 2 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari