User Tools

Site Tools


choice

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
choice [2014/09/20 21:20]
127.0.0.1 external edit
choice [2017/10/10 00:39] (current)
Line 1: Line 1:
 =====<<​choice>>​===== =====<<​choice>>​=====
  
-The <<​choice>>​ [[macro]] ​produces passage ​links which can only be clicked onceIf one is clicked, all other <<​choice>>​ links in the passage are permanently disabled. This means that if you return to the passage ​(via another link) then every <<​choice>>​ link is darkened and no longer clickable. ​Normal ​links are, of courseunaffected.+The <<​choice>>​ [[macro]] ​is useful for creating a set of multiple ​links that the reader ​can choose ​only one ofOnce one link in the set is clicked, all other <<​choice>>​ links in the passage are permanently disabled. This means that even if you return to the passage ​by another linkevery <<​choice>>​ link in the set will be darkened and no longer clickable. ​Any other links on the page links remain unaffected. 
 + 
 +For exampleif a reader encounters a peanut butter cookie, the reader can eat it, give it to the dog, or throw it out the window, but the reader can't do more than one of those things. (But the reader could go on to do something outside the setlike leave the room.
  
 In [[Jonah]], if the "​Undo"​ [[StorySetting]] is off, then all links will behave like <<​choice>>​ links, and the macro is unnecessary. This is because Jonah permits you to "​undo"​ your moves at any time by scrolling up to a previous passage and clicking another link - undos in Jonah are disabled by forbidding this action. In [[Jonah]], if the "​Undo"​ [[StorySetting]] is off, then all links will behave like <<​choice>>​ links, and the macro is unnecessary. This is because Jonah permits you to "​undo"​ your moves at any time by scrolling up to a previous passage and clicking another link - undos in Jonah are disabled by forbidding this action.
choice.txt · Last modified: 2017/10/10 00:39 (external edit)