![]() | Chapter 10: Scenes | ![]() ![]() |
10.4. During scenes |
Scenes are not only useful for changing the setting, by moving items or people around and providing a little narration. We can also make the rules different in one scene from another. For instance, at a sleepy country halt there is no reason why one should not walk across the tracks: but if there is a train in the way, that would be impossible.
Before going north during the Train Stop, say "The train blocks your way." instead.
Any rule can have the clause "during ..." attached, provided that clause goes at the end and explicitly names a scene. This is especially useful with "every turn":
Every turn during the Train Stop, say "Water is sluiced out of the tank and into the engine."
We can test whether a scene is happening with the condition:
Train Stop is going on ...
(or "is happening") and there are similar conditions "Train Stop has happened" and "Train Stop has ended". (We need to be a bit careful about which we mean: it's possible to set things up so that the Train Stop scene will play out more than once, so "Train Stop is happening" and "Train Stop has happened" might both be true at once.)
The kind of value "scene" is one which is allowed to have properties - it has a tick in the "properties" column in the chart on the Kinds index page - and this can be very useful in describing scenes. For instance, we could write:
A scene can be thrilling or dull. Train Stop is dull.
A scene has a text called cue speech. The cue speech of Train Stop is "All aboard!".
Inform has the adjectives "recurring", "non-recurring" and "going on" all built in to describe scenes, and the above would add "thrilling" and "dull". Moreover, the "during" clause of a rule can give a description of a scene as easily as a specific scene name. For instance:
Before going north during a dull non-recurring scene, ...
| ![]() Random atmospheric events which last the duration of a scene. |
|
| ![]() ![]() We'll be back in just a moment, with more exciting adventures of the... Space Patrol! |
|
| ![]() ![]() ![]() A scene which plays through a series of events in order, then ends when the list of events is exhausted. |
|
| ![]() ![]() ![]() Creating a category of scenes that restrict the player's behavior. |
|
Previous | Contents | Next |