RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Making an event hapen once...

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 85
How do i make it so an event only happens once FOREVER. I know the 'Erase Event' erases it for that session(if you shutdown the game, it plays again, and if you leave then come back, it plays again).

How do I make it happen only once? I have it on Parrel process so it starts when you enter this room, but I want it to happen once and once only.

********
Furry Philosopher
Rep:
Level 94
Rawr?
2013 Best RPG Maker User (Creativity)Randomizer - GIAW 11Gold - GIAW 11 (Hard)Secret Santa 2013 ParticipantFor frequently finding and reporting spam and spam bots2012 Best RPG Maker User (Programming)2012 Best RPG Maker User (Mapping)Secret Santa 2012 ParticipantGold - GIAW 9Project of the Month winner for September 2008For taking a crack at the RMRK Wiki2011 Best RPG Maker User (Programming)2011 Kindest Member2011 Best Veteran2010 Most Deserving Of A Promotion2010 Best RPG Maker User (Technical)
Simple enough. At the end of the event, turn on a self switch. Then, click new event page and set the conditions so that it only starts when that self switch is on.




******
Revolution is not a bed of roses.
Rep:
Level 91
Project of the Month winner for July 2009
This belongs in troubleshooting. Strike 1.

**
Rep: +0/-0Level 85
How exactly do I do this?

Is their a event command in the list that turns on the self switch, or do I just make the self switch A 'On' by clicking the box next to it?

***
Rep:
Level 86
Yeah... about that.....
It's an event command.

Control Self Switches >>  Self Switch A on.  Fist event page, second column, 3rd command.
This is a signature.

**
Rep: +0/-0Level 85
I made a self switch and I make the process a conditonal branch.

If self switch  == on

The event no longer plays when I enter the room.

********
Furry Philosopher
Rep:
Level 94
Rawr?
2013 Best RPG Maker User (Creativity)Randomizer - GIAW 11Gold - GIAW 11 (Hard)Secret Santa 2013 ParticipantFor frequently finding and reporting spam and spam bots2012 Best RPG Maker User (Programming)2012 Best RPG Maker User (Mapping)Secret Santa 2012 ParticipantGold - GIAW 9Project of the Month winner for September 2008For taking a crack at the RMRK Wiki2011 Best RPG Maker User (Programming)2011 Kindest Member2011 Best Veteran2010 Most Deserving Of A Promotion2010 Best RPG Maker User (Technical)
You don't need a conditional branch. Make your event as you did before, and at the end of the event, use the command "Control Self Switch" and set Self Switch A to on. Next, click "New Event Page" (which is located right next to the name of the event at the top of the page), and in the box that says Conditions, click the checkbox for Self Switch.

Do you understand?




**
Rep: +0/-0Level 85
But after the event is done don't I need to set it to turn the switch OFF so it doesn't play again?

EDIT: The event won't play at all still after doing what you suggested...
« Last Edit: June 10, 2008, 01:12:35 PM by Ultimagamer »

***
Rep:
Level 86
Yeah... about that.....
No.  After the event plays though, then you turn the self switch on, do as Zylos said with the new page, and leave the second page completely blank.
This is a signature.

********
Furry Philosopher
Rep:
Level 94
Rawr?
2013 Best RPG Maker User (Creativity)Randomizer - GIAW 11Gold - GIAW 11 (Hard)Secret Santa 2013 ParticipantFor frequently finding and reporting spam and spam bots2012 Best RPG Maker User (Programming)2012 Best RPG Maker User (Mapping)Secret Santa 2012 ParticipantGold - GIAW 9Project of the Month winner for September 2008For taking a crack at the RMRK Wiki2011 Best RPG Maker User (Programming)2011 Kindest Member2011 Best Veteran2010 Most Deserving Of A Promotion2010 Best RPG Maker User (Technical)
Look at it this way. You are making one event with two pages. The first page is what you want your event to do, and the second page is blank. At the end of the first page, you turn on the self switch. This switch tells your event to read the second page instead of the first page for as long as that switch is on. But because the second page is blank, nothing will happen. So as long as that self switch is on, your event will read the second page and do nothing, just like you want it to do.




**
Rep: +0/-0Level 85
Well as it stands now the event doesn't even play when I enter the room.

********
Furry Philosopher
Rep:
Level 94
Rawr?
2013 Best RPG Maker User (Creativity)Randomizer - GIAW 11Gold - GIAW 11 (Hard)Secret Santa 2013 ParticipantFor frequently finding and reporting spam and spam bots2012 Best RPG Maker User (Programming)2012 Best RPG Maker User (Mapping)Secret Santa 2012 ParticipantGold - GIAW 9Project of the Month winner for September 2008For taking a crack at the RMRK Wiki2011 Best RPG Maker User (Programming)2011 Kindest Member2011 Best Veteran2010 Most Deserving Of A Promotion2010 Best RPG Maker User (Technical)
Make sure that page one has nothing checked in the conditions box, and that you turned the self switch on at the end of the event instead of at the beginning. Also make sure that you do have the Self Switch checked in the conditions of the second page. It should be working.




**
Rep: +0/-0Level 85
Thanks for your help!

I just have one more bug I need to fix.

I have it so when you talk to the main NPC of the story he asks
'Did my father send you to get me'?
YES
or
NO

If you say no nothing happens he just says 'Alright. Good.'

If you say yes he starts to move away from you(on a SET MOVE ROUTE) and there is text going on at the same time(after the SET MOVE ROUTE I have text commands) and if you skip through all the text he can just disappear before he is off screen(because of ERASE EVENT command being after the text.)

How can I make it so the text doesn't end until he is off screen?

***
Rep:
Level 86
Yeah... about that.....
Wait For Move's Completion.

Right under Set Move Route.

EDIT:  Wait, you want the text while he's moving?  I think you need a Message Script.  I use Ccoa's UMS.
This is a signature.