Game Mode

Discussion in 'CHYOA General' started by Torg, May 10, 2017.

  1. Torg

    Torg Really Experienced

    Is there an instruction page for Game Mode?

    I'm having trouble figuring out what the box with the three icons in the Variable field of the Changes to Score section is.

    For the boolean variables, is the check mark true or the X?
     
    airwreck likes this.
  2. gene.sis

    gene.sis CHYOA Guru

    There is a general description in the CHYOA Guide.
    The following 2 chapters describe the usage of If-Statements in the Chapter text and the usage of Variable values in the Chapter text.

    The three icons are described in paragraph 6 of the Guide.
    They can handle the visibility for Variables.

    The Variable types are described in paragraph 5 of the Guide.
    "Check" is true, "times" is false.
     
  3. Torg

    Torg Really Experienced

    Thanks. I noticed that if you reference a variable in the "Conditions to view this chapter" section, that the variable has to be defined prior to reaching the parent page, or the variables default to TRUE. I had to set the variables to X in the parent page to get the page to have proper visibility.
     
  4. gene.sis

    gene.sis CHYOA Guru

    If you check for a variable which isn't existent in the reader's Score, the chapter will always be inaccessible. (So the variable won't default to true)

    Currently, you have to ensure that the respective variable is available early enough to cover all branches.