Site Tools
User Tools

Differences

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

Link to this comparison view

gameplay:guides:places:advtutii [2023/11/21 23:45] – created kuhsodasgameplay:guides:places:advtutii [2023/11/21 23:47] (current) kuhsodas
Line 15: Line 15:
  
 Here we're using the same trick as in the last tutorial. For each command, the desired outcome is in the escape hatch, so we have to use the same 'reverse logic' as before, and set the program flow knobs to fail exactly when the desired conditions are achieved. In the above program, we want the contraption in the escape hatch to fire if All the Contrivances pass, and so we want the program to continue if any Contrivance fails. Take a careful note of this. ANY fail, the program continues. ALL pass, the escape hatch fires. Here we're using the same trick as in the last tutorial. For each command, the desired outcome is in the escape hatch, so we have to use the same 'reverse logic' as before, and set the program flow knobs to fail exactly when the desired conditions are achieved. In the above program, we want the contraption in the escape hatch to fire if All the Contrivances pass, and so we want the program to continue if any Contrivance fails. Take a careful note of this. ANY fail, the program continues. ALL pass, the escape hatch fires.
-</WRAP> 
  
  
Line 25: Line 24:
 | Any Fail | All Pass| | Any Fail | All Pass|
 | All Fail | Any Pass| | All Fail | Any Pass|
 +
 +</WRAP>
  
 Note that all your different commands are mutually exclusive. As soon as one command is found that matches what was typed in, the escape hatch fires and the program terminates. This may not be what you want. For example don't mix up a program that shows pages depending on where you've come in from (as covered in the previous tutorial) with one like the above which looks out for commands. Keep them in separate programs. Note that all your different commands are mutually exclusive. As soon as one command is found that matches what was typed in, the escape hatch fires and the program terminates. This may not be what you want. For example don't mix up a program that shows pages depending on where you've come in from (as covered in the previous tutorial) with one like the above which looks out for commands. Keep them in separate programs.
gameplay/guides/places/advtutii.1700610329.txt.gz · Last modified: 2023/11/21 23:45 by kuhsodas