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.
How to make an NPC give ONLY ONE potion?

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 87
How do I make it so that an NPC gives only one potion only-because right now, each time you talk to him, he gives a free potion (not good). I am using RPG maker 2k.

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
at the end use "turn self switch A on"
new event page click teh box for self switch A.
Watch out for: HaloOfTheSun

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
self switches don't exist in 2k. You can use regular switches though

**
Rep:
Level 87
wait-so in events, I click on change switch. Then what do I do?

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
I recommend you switch to 2k3 or even XP version of rpg maker. it will be alot better and there is more people using it on this forum so help is always easy to get.

http://crankeye.com/index.php?page=downloads
Watch out for: HaloOfTheSun

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
You have to make a second page in the event which is conditioned on the switch you turn on after the potion is given. Essentially what that will do is make it so that the second page in the event will only when that specific switch is ON. Since you don't turn that switch on until after you are given the potion, the first page will run the first time you activate that event. But, since the switch is ON now, the second page will run each subsequent time you talk to the NPC.

And yeah, you really should switch, as there are a lot of good tutorials on XP and 2k3 and a lot of people use them. If you don't switch, you should still read the tutorials, because there are a lot of common features. So far, every question about eventing you've asked is answered in at least one of the tutorials.