P Switch help?

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

Moderator: Userbase Moderators

AkikoKumimo
Guest

P Switch help?

Postby AkikoKumimo » Sat Apr 05, 2014 4:53 am

When editing a level, is it possible to make it so that a P Switch does not change blocks to coins? Because, I want to make it so that, when I activate a P Switch, Red Coins appear. And then, when all Red Coins are collected, an item will drop. All that works fine, it's just there are blocks in the level that, if changed to coins, it makes it easy to die. If there is no way to do this, then is there an alternative block or NPC that only allows one use/activation that I can set an event to?

bossedit8
Banned
Posts: 6838
Joined: Fri Dec 20, 2013 12:35 pm
Contact:

Re: P Switch help?

Postby bossedit8 » Sat Apr 05, 2014 5:18 am

Something like this?



There are only two spots that has the 8 red coin function on this video.

RudeGuy
Fry Guy
Fry Guy
Posts: 4994
Joined: Fri Dec 27, 2013 7:36 am
Flair: local guy

Re: P Switch help?

Postby RudeGuy » Sat Apr 05, 2014 9:02 am

The only thing you can do is don't use a P-switch, use an another thing.

silent_
Van De Graf
Van De Graf
Posts: 2151
Joined: Fri Dec 20, 2013 3:34 pm

Re: P Switch help?

Postby silent_ » Sat Apr 05, 2014 11:05 am

I would make a P-Switch replacing the Skull Switch, and just edit the mask and .txt file. If you're unable to do so, I'll link you to a red P-switch Chad made replacing the Skull Switch as it may be an immense help to you.

Initially, I would make an event and name it whatever you want. For something uncomplicated, I'll name it "P-Switch Activation". Now, I would go to the layers tab and name a new layer whatever you want. I'll name it "Red Coins". Made sure it is unchecked. Back to the events tab, go on your event you made previously and put "Red Coins" in the "Show Layers" tab. Following that, in the same event, make the delay whatever you want in seconds, and that delay will represent how long the red coins will show until they vanish. After you set that, make another event. I'll name it "P-Switch Ends". In the P-Switch Activation event, however, your trigger event will be the one you just made (P-Switch Ends). On the P-Switch Ends event, you put "Red Coins" in hide layers. Conclusively, you have to take the P-Switch replacing the Skull Switch and go to the NPC events. Under "Death" or "Activate" (I think either one works) you'd select the event "P-Switch Activation". Test your level, it should work.

AkikoKumimo
Guest

Re: P Switch help?

Postby AkikoKumimo » Sat Apr 05, 2014 10:59 pm

Kep wrote:I would make a P-Switch replacing the Skull Switch, and just edit the mask and .txt file. If you're unable to do so, I'll link you to a red P-switch Chad made replacing the Skull Switch as it may be an immense help to you.

Initially, I would make an event and name it whatever you want. For something uncomplicated, I'll name it "P-Switch Activation". Now, I would go to the layers tab and name a new layer whatever you want. I'll name it "Red Coins". Made sure it is unchecked. Back to the events tab, go on your event you made previously and put "Red Coins" in the "Show Layers" tab. Following that, in the same event, make the delay whatever you want in seconds, and that delay will represent how long the red coins will show until they vanish. After you set that, make another event. I'll name it "P-Switch Ends". In the P-Switch Activation event, however, your trigger event will be the one you just made (P-Switch Ends). On the P-Switch Ends event, you put "Red Coins" in hide layers. Conclusively, you have to take the P-Switch replacing the Skull Switch and go to the NPC events. Under "Death" or "Activate" (I think either one works) you'd select the event "P-Switch Activation". Test your level, it should work.
Thanks a bunch, this was a lot of help.


Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 7 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari