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.
A little problem....

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 87

                                     [RESOLVED]


i have a little problem in programming the game as it should be.
 the story should be like this:

you make a quest to an old man, where you get a treasure chest from some thieves in a cave.
after you defeated the and finished the quest, you talk to a guy named dk and he joins your party.
i have problems with this.
here is how the event looks now:
Old man:
@>Conditional Branch: [Ancient Treasure] in inventory
     @>Text: You.... you found it! you got my ancient treasure back!
     @>Please, take this in return!
     @>Change Weapons: [Iron Rod] +1
     @>Text: You Received: An Iron Rod!
     @>Change Items: [Ancient Treasure] -1
     @>
 :    Else
     @>Text: Help! some thieves stole something very precious to me! you need to help me!
     @>Show Choices: Yes, No
 :   When  [yes]
     @>Text: thank you.I believe someone in the village knows where the thieves are.
     @>Control Switches: [0004 Finished Quest] = ON
     @>
:    When  [No]
      @> Text: It's okay, if you change your mind i'll be right here.
      @>
   : Branch End
  @>
: Branch End
@>




Is something wrong with this script?

problems that occur:

after finishing the quest dk acts as if the quest hasn't been completed:

i can make the quest 100 times, it will always be there.

why does this happen?
« Last Edit: May 21, 2007, 06:22:03 AM by bioevy »

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
I dont understand the problem, also it's an event not a script.  :D
Watch out for: HaloOfTheSun

**
Rep:
Level 87
I am Hitler's sidekick.
Yeah it uhh....it looks fine.

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
Switches is your answer to this problem.
Click on my sig to learn about them ^_^

You got to turn on a switch the Ancient Treasure in inventory branch to make sure it can't be done again.