§6.14. Remembering, Converting and Combining Actions
Sometimes we want Inform to apply a player's action to a different target than the one specified: for instance, directing all (or almost all) commands from the doorknob to the door of which it is a part. Fine Laid demonstrates how to do this. Along the same lines, Lucy shows how to direct a player's conversation action to apply to a new conversation topic.
We can also record a series of actions performed by the player or by another character.
Cactus Will Outlive Us All demonstrates characters each of whom reacts to a very specific provocation; I Didn't Come All The Way From Great Portland Street implements a game show in which the player is not allowed ever to repeat an action he has already performed; and Leopard-skin implements a maze which the player can escape only by performing a specific sequence of actions.
Anteaters provides a peculiar gizmo that can remember actions performed in its presence and force the player to reiterate them.
![]() | Start of Chapter 6: Commands |
![]() | Back to §6.13. Magic Words |
![]() | Onward to §6.15. Actions on Multiple Objects |
|
|
|
|
|
|