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] Quest Log Script Help - Problem with booleans

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 87
im having a very annoying problem that makes it so i cannot even use this script... when i use a conditional branch in an event to check to see if a qupdate switch is true or false, it's all mixed up. what i mean by this is, since the for loop in the game_temp script sets all the qupdate switches to false, a conditional branch for qupdate[21] that has not been changed at all (as in untouched, which should be a default of false) SHOULD be false, but in fact it is true. i have sort of found a way around this, and that is to treat false as true and vice versa. however, this makes it so that when an objective is completed, or even a quest is started, the quest log does not read it as true, because i have it set to false (since the boolean is all mixed around). ive tried several different methods, none have worked... ive tried changing the true/false values of every single variable relating to the qupdate switches in all the scripts, ive tried changing the for loop to make the qupdate values to true instead of false (since they were switched around, i figured maybe this would switch them back around correctly), ive tried re-ordering EVERYTHING in all my events, nothing works...

I've included a demo with the scripts and 2 quests. Please take a look at it and help me figure out how to fix it. Instructions on how to add/remove quests and how to use the qupdate switches are in the InProgress Quest List script at the very bottom. I have also included several comments in the events on the map. To open up the quest log, you will need to press Q.
« Last Edit: July 11, 2007, 05:20:49 PM by swiftdeathsk »

*
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
Well, I don't really have the time to figure put what's going on, but I am going to link you to other quest logs:

Strathoff's Quest Log

Rune's Quest Log

Samo's Quest Log

Mr. DJ's Quest Log

Hopefully one of them will be easier to use.

**
Rep:
Level 87
Thanks, I'm going to use Strathoff's Quest Log instead now...