Sense context output filter. When the sense context doesn't allow the player character to sense whatever's going on, we'll block all output; otherwise, we'll pass output through unchanged.
senseContext : SwitchableCaptureFilter
Superclass Tree (in declaration order)
Summary of Properties
Summary of Methods
our current cached blocking status, and its validity
the source object and sense of the sensory context
Get our current blocking status. If we've already cached the status, we'll return the cached status; otherwise, we'll compute and cache the new blocking status, based on the current sensory environment.
Recalculate the current sense context. We will check to see if the player character can sense the current sense context's source object in the current sense context's sense, and show or hide output from this point forward accordingly. This can be called any time conditions change in such a way that the sense context should be refigured.
setSenseContext (source, sense)
Calculate whether or not I should be blocking output according to the current game state. Returns true if so, nil if not.
withSenseContext (source, sense, func)
invoke a callback with a given sense context
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3