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.
[RESOLVED]10 logs

0 Members and 1 Guest are viewing this topic.

***
Rep:
Level 87
I am Mortar, you lose.
In my game, I want the character to collect 10 logs. So far, everything is done correctly except for one thing: I can only make the player need 1 log to move to the next map, instead of 10.

Is there a way to make the player need 10 logs instead of 1 to move to the next map? I'm using a conditional branch for this.

Thanks in advance,

Mortar.
« Last Edit: October 28, 2007, 06:13:24 PM by Mortar »

*
Rep:
Level 89
2012 Best RPG Maker User (Story)Project of the Month winner for May 2007Project of the Month winner for July 20082011 Best RPG Maker User (Story)2011 Project of the Year2011 Best RPG Maker User (Creativity)
Name a spare variable log #, initialize to 0 if needed.
Every time you pick up a log, add 1 to log #. When checking with conditional branch, simply check if the log # variable is > 10.


And if you don't want to do the variable way, here's a more advanced way that might help you learn the use of loops that would be useful elsewhere:



***
Rep:
Level 87
I am Mortar, you lose.
Thanks a lot man. ;D