Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

[RESPONSIVE] - Problem with a specific story system

edited May 2014 in Help! with 1.x
Hello everyone!

I'm beginner and I have some problems with a "choices system" I want to create.

Here is my objective:

- I want to create a screen with 4 links which correspond to 2 positive answers and 2 negative ones (positiveChoice1, positiveChoice2, negativeChoice1 and negativeChoice2).
- when the player chooses an answer (positiveChoice1 for instance), the link goes to another screen with the text. When the player has finished reading the text, he can come back to the choices screen.
- When he finally comes back, positiveChoice1 has been replaced by positiveChoice3. PositiveChoice2, NegativeChoice1 and NegativeChoice2 are always available, but the system is the same for them.

I've tried to create strings that replace positive/negativeChoicesX but it currently doesn't work.

I hope this description is understandable. If not, do not hesitate to tell me.

Thanks a lot!

Comments

  • Okay, so I think I've made a basic program for what you've asked

    Start
    <<silently>>
    <<set $pos1 = "false">>
    <<set $pos2 = "false">>
    <<set $neg1 = "false">>
    <<set $neg2 = "false">>
    <<endsilently>>
    [[Start|choices]]
    choices
    <<if $pos1 eq "false">>[[Positive (1)|positivechoice1]]<<else>>[[Positive (3)|positivechoice3]]<<endif>>
    <<if $pos2 eq "false">>[[Positive (2)|positivechoice2]]<<else>>[[Positive (4)|positivechoice4]]<<endif>>

    <<if $neg1 eq "false">>[[Negative (1)|negativechoice1]]<<else>>[[Negative (3)|negativechoice3]]<<endif>>
    <<if $neg2 eq "false">>[[Negative (2)|negativechoice2]]<<else>>[[Negative (4)|negativechoice4]]<<endif>>
    positivechoice1
    <<set $pos1 = "true">>
    [[Choices|choices]]
    positivechoice2
    <<set $pos2 = "true">>
    [[Choices|choices]]
    positivechoice3
    [[Choices|choices]]
    positivechoice4
    [[Choices|choices]]
    negativechoice1
    <<set $neg1 = "true">>
    [[Choices|choices]]
    negativechoice2
    <<set $neg2 = "true">>
    [[Choices|choices]]
    negativechoice3
    [[Choices|choices]]
    negativechoice4
    [[Choices|choices]]
    If you want it to alternate so you can go back to pos/neg 1 and 2, just go into 3 and 4 and set them as false again

    positivechoice3
    <<set $pos1 = "false">>
    [[Choices|choices]]
    etc.

    you can also use counters if you want them to go to the new option a minimum amount of times before the old options re-reveal themselves again

    You can of course change variable names and what name the link displays and stuff, as long as everything is connected the same. You don't have to start with Start, but you do need a page before your main choices menu to initialize the variables

    If you need any more help, let me know and I'll see what I can do
  • Thank you very much, I just tested it in a new blank project, and it works well.

    Now I'm going to test it with my own variables, but there is no reason it doesn't work.

    Thanks again for helping me !
  • Yay! I was helpful :) :P
Sign In or Register to comment.