Simple switches for a quest

● ARCHIVED · READ-ONLY
Started by tom88norman 5 posts View original ↗
  1. Hello,

    To start with I'll say that I know there are countless tutorials on this and I've followed several of them word for word but I'm still having trouble trying to set up a simple event where an NPC gives the player a quest to find their spear. It's just a test really, to see if I can get it to work and so far, I can't. 

    Basically, I trigger my first switch on page 1 and on pages 2 and 3 of the event, I've got the conditional box ticked that says "only run this page if this switch is on" and when I play test, it always just runs the last page of the event (in this case, page 3) before any other events have happened. It's like the system thinks that all switches are always on and so it just plays the final page of the event when I talk to the character. I think the screenshots explain it better.

    The second switch "Item Found" is activated by a chest containing the item in question (screenshots provided.)

    I've tried activating a self switch on the first page and ticking the "self switch A On" box on pages 2 & 3 and that displayed the first page, but then skipped page 2 and went straight to page 3. If I just tick the "self switch A On" box on page 2, not page 3, again the event just skips straight to page 3 from the beginning.

    It's like my switches, or the conditional tick boxes relating to them aren't working. Please someone tell me I've just made a simple rookie error and it's easily fixable?

    Thanks in advance for any help

    event page 1.jpg

    event page 2.jpg

    event page 3.jpg

    Chest event page 1.jpg

    Chest event page 2.jpg
  2. Your set up is correct.

    I would suggest this however to save one switch:

    page 1. No Condition, then Text, then Self Switch A - ON

    page 2. Self Switch A ON Condition, then Text

    page 3. Switch X ON, then Text. (x is whatever switch u want to use to say the player has found the item)

    If things are always going to your 3rd page regardless. then it is likely you have something else that has turned on switch 2. Look through all your events and scripts to make sure nothing else is using switch 2. One thing you can do when play testing is to push f9 which will show you a menu of all the switches and variables. They should all start on OFF position.

    Hope that helps

    ~ Dinhbat
  3. Yep, if your third page always runs, then you're using the switch for something else as well.  Make sure you ALWAYS put a name on your switches when you allocate them, so you don't accidentally use them for something else. 

    Also check any scripts you've added - if any use switches and you haven't modified them, and you haven't checked to see which ones are being used, you are very likely using the same switch for this as one of your scripts is.  Yami's Overlay script is one that a lot of people have trouble with - because they don't bother to read the instructions and set up the switches, then they go and use them for something else.
  4. Thanks for the help guys, it was indeed something in a script. Yami's overlay script to be exact. Shaz, great advice as always. Thanks so much, this thread can close now
  5. This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.