Non-threaded

Forums » Advanced Editor Forum » Read Thread

Get help from the experts on variables, scripts, items, and other scary things.

Won't go to correct link

10 years ago

When trying out one of my stories, it goes smoothly until one specific part where no matter which link I click, it goes back two pages. I've deleted the page and re-linked everything, and it's still acting oddly. I've made sure each link goes to the page I want it to, but nothing seems to help when I actually play. (It's fine in edit mode only)

Won't go to correct link

10 years ago

So, this isn't a Bug, it's a problem with how you have set up your Link Events ---

---

What you had was an Infinite Loop, set up by how you were using your Link Events. Basically, you had 3 Link Events set up -

POINTS Link Event: POINTS < 1 = Goto Character Creation: Special Traits
RAGEMANA Link Event: RAGEMANA < 1 = Goto Character Creation: Watch That RM!
TIBUTE Link Event: TRIBUTE < 1 = Goto Prologue: How It Started

All of these Link Events are working - BUT - you never Reset the Values of the Variables after they had done their job (moving to the new page), so later, when the system checked them again, it saw that they still met the criteria of the Event you set up and moved to that page yet again.

In the case of RAGEMANA, it doesn't matter because the next Link is an End Game Link (I'm 85% Sure here) - but for POINTS & TRIBUTE, you're still playing the game after the Events, so I added +2 to Each on your Imagine Link on the Prologe: How It Started Page so it would stop meeting the Event Criteria and allow you to continue past.

---

So, that's it then - you just need to remember to Always Reset the Conditions of a Link Event on the 'Goto Page' every time - or you'll get into an Infinite Loop.