emshortIntergalactic Janitor


Posts : 5 Joined: 30 JUL 2006
Status : Online | The best place to get assistance like this is the rec.arts.int-fiction newsgroup, which you can access with a newsreader or through Google Groups, here:
http://groups.google.com/group/rec.arts.int-fiction?lnk=li
As to your particular question about Instead of going a direction say, "Text."
-- your trouble is punctuation. (Yes, Inform *is* still a programming language, and does still have a syntax...) You want
Instead of going a direction, say "Text".
OR
Instead of going a direction: say "Text".
The colon version is more flexible, since when you use the colon there you are allowed to follow up with more instructions, like this:
Instead of going a direction: say "Text"; move the player to the East Drawing Room.
or something to that effect.
If you further want to restrict this rule to happen only in a single room, you might have
Instead of going a direction from the East Drawing Room: say "Text".
You don't need an explicit "if..." for this; conditions can be made part of the rule heading, as shown in the chapter on Basic Actions.
One approach that some people have found helpful is to copy examples over into the source window that do roughly what they want to do, then play with them to modify the effect. Obviously this isn't a good way to program an entire game, but it can help get a person started.
|