Page 1 of 1

How protect a NPC from P-Switch?

Posted: Tue Jul 01, 2014 6:55 am
by Seminesho
How can I protect a dragon coin from being transformed into a brick block because of the effects of an activated P-Switch?

Re: How protect a NPC from P-Switch?

Posted: Tue Jul 01, 2014 6:57 am
by RudeGuy
That's impossible.

Re: How protect a NPC from P-Switch?

Posted: Tue Jul 01, 2014 7:06 am
by bossedit8
There is a Event that is already implemented in the Event Window called "P Switch - Start" and "P Switch - End". Those will trigger if you pressed the P Switch. You need a Layer that the Dragon Coin will disappear once you hit the P Switch and if the P Switch ends they must be appear. But that is a very buggy solution because doing so they will Duplicate the Dragon Coins and you gain more lifes than usual.

The other way is while the P Switch is active, make sure that the player is impossible to reach the Dragon Coin so he/she is not accidently breaking it and lose the chain of the Dragon Coin Points.

Re: How protect a NPC from P-Switch?

Posted: Sat Jul 05, 2014 9:57 pm
by Dr. Crygor
You can use a different switch (like the explosive switch) and use events to make it turn coins into bricks, but not the Yoshi coin.