Hello! I’m new to Inform 7 and struggling to catch my own fish, as it were. I have two questions about §7.15. Kinds of action.
What, exactly, is being declared? I expected
going somewhere is interesting behaviour.
to be equivalent to
interesting behaviour is a kind of action. going somewhere is interesting behaviour.
but in the second stanza, the first declaration is rejected. I was expecting this to allow me to a disambiguating
the kind of action called ...syntax to help me unravel cases where
whenis not being considered a condition, but no dice.
Could somebody explain how to have an action performed by an actor that is not the player be considered a kind of action? I can’t determine the correct syntax.
going somewhere is interesting behaviour. after going somewhere: say "Hmm, interesting.".
triggers for the player, but not for another actor. Fine, but I can’t figure out how to describe the
an actor goingaction in order to say it is an
interesting behaviour. Certainly both of
an actor going is interesting behaviour. an actor going somewhere is interesting behaviour.
produce the same “appears to say two things are the same” error.
This is similar in spirit to this question from 2012, but not identical, since I think in my situation the action should exist without conditionals.
If there is a way to achieve what I want, can you also help me understand the path to discover it? I have read (some small part of) The Standard Rules, which refer to
an actor going, e.g.,
Check an actor going when the actor is on a supporter (called the chaise) (this is the stand up before going rule): ...
However, this isn’t how these actions are referred to here. Normally I’d dive into the compiler source code, but… well, soon enough, we hope.
Any suggestions? Thanks in advance!