Note: This page is no longer being maintained and
is kept for archival purposes only.|
For current information see our main page.
Developers of custom software and educational simulations.
|Home ... News ... Products ... Download ... Order ... Support ... Consulting ... Company|
StoryHarp & IF
StoryHarp & Java
Basic Tutorial -- Step 5: Link one location to another----|----- Back | Next | Index Select the second rule Select the second rule from the rule table by clicking on it with the mouse. You should see the rule appear in the rule editor, as well as be highlighted as a bold line with a yellow background (unless you changed the color preferences). The bold item is always the rule now displayed in the rule editor panel. You should see a #2 in the upper left hand corner of the rule editor to show you are editing the second rule. The command field should read "climb a tree". Add a move Now, let's have this command move us to the tree top. To do this, enter "tree top" in the move field. What you enter here needs to match exactly in case and spacing what you previously entered for the context of rule #3. All the rule fields except the reply field will automatically convert what is entered in them to lowercase, but the spacing you need to worry about yourself. Test the move Now let's test it out in the player. Click on "climb a tree" and then "look". You should get something like this: > climb a tree You climb a tree and can see nothing but tree tops for miles around you > look You are at the top of a huge Sequoia, swaying in the breeze. Add another move Wait! How do we get down? We need to add a new command to go down the tree. Select rule three in the table, and then press the New button. We selected rule three so the context would be filled in as "tree top" and not "forest". If you didn't do this first, you can always type over the context with "tree top". Make sure it is rule #4 you are editing first, though. Enter "slide down the tree" in the command field. Then enter, "You slide back to the ground." in the reply field. Of course, we need to also enter a move field. So enter "forest" in the move field. The rule should look something like this:
Updated: March 10, 1999. Questions/comments on site to firstname.lastname@example.org.
Copyright © 1998, 1999 Paul D. Fernhout & Cynthia F. Kurtz.