Ambrosia Garden Archive
    • Convo problem...


      This is my convo, ID 126.

      pre-conv:
       if (2) arg (3210) arg2 (3) then goto line (10)
       else goto line (3)
      
      line 1:
       Hooded Figure - ID 4017
       text: "Halt! You don't have the 3 Algernon Pieces you need to pass through this gate! Go and find them!"
       goto line (2)
      
      line 2:
       Ferazel - ID 4001
       text: "OK."
       goto line (21)
      
      line 3: (check)
       if (5) arg (28) arg2 (2) then goto line (17)
       else goto line (1)
      
      lines 4-9: empty
      
      line 10:
       Hooded Figure - ID 4017
       text: "Hmm... You have the 3 Algernon Pieces. Do you want to pass?"
       Possible Responses:
       - "Yes." goto line (11)
       - "No." goto line (14)
      
      line 11:
       Hooded Figure - ID 4017
       text: "OK. The door will be opened."
       action (3) arg (3210) arg2 (3)
       action (5) arg (28) arg2 (2)
       goto line (12)
      
      line 12: (action)
       action (6) arg (500) arg2 (3)
       goto line (21)
      
      line 13: empty
      
      line 14:
       Hooded Figure - ID 4017
       text: "No? Well, come tell me if you change your mind."
       goto line (21)
      
      lines 15-16: empty
      
      line 17:
       Hooded Figure - ID 4017
       text: "All you see is not what it looks like..."
       goto line (21)
      
      line 18: empty
      

      How it should work:
      You come to the hooded figure. If you don't have 3 alg pieces, it goes to line 3 to check if you have opened the rock barrier. If you have, it goes to line 17, if not, it goes to line 1. However, if you have 3 alg pieces, it goes to line 10 and asks if you want to open the rock barrier. If not, it goes to line 14. If yes, it goes to line 11 and takes the alg pieces and sets the flag to "visited character". Then it goes to line 12 and opens the rock barrier with 500 in info (1). Then the convo ends.

      But, when I come to him, he just goes to line 1, even if I have the 3 alg pieces. Why does this happen? Have I done something wrong? Could anyone help?...

      ------------------
      C0ZM0 / (0ZM0 / cozmo / cozmo01 / underflip
      (url="http://"mailto:c0zm0@hotmail.com")mailto:c0zm0@hotmail.com(/url)c0zm0@hotmail.com

    • Quote

      pre-conv:
      if (2) arg (3210) arg2 (3) then goto line (10)
      else goto line (3)

      I think your problem is right there. It should read:

      if (2) arg (10) arg2 (3) then goto line (10)
      else goto line (3)

      You've got the same mistake down on line 11
      Change those two and see if it works.

      ------------------
      Liz the Wiz 🙂


      I truly believe that all deadlines are unreasonable regardless of the amount of time given.

      (This message has been edited by lizwiz (edited 01-17-2003).)

    • I am stupid. Thanx, liz.

      This is what you get if you haven't used MASCOT in a long time...

      (edit)Fixed, and it works. A Path to the Fire is eeevil... (took me 3 rez's to make it through, and I only found 90% secrets, though this is my own level)(/edit)
      ------------------
      C0ZM0 / (0ZM0 / cozmo / cozmo01 / underflip
      (url="http://"mailto:c0zm0@hotmail.com")mailto:c0zm0@hotmail.com(/url)c0zm0@hotmail.com