This Special redefines canHear, canSee, canSmell, canTalkTo and canThrowTo to take account of possible sensory connections across rooms in a SenseRegion
QSenseRegion : Special
Superclass Tree (in declaration order)
QSenseRegion
Special
object
Summary of Properties
active
priority
Inherited from Special
:
all
allActive_
Summary of Methods
canHear
canSee
canSmell
canTalkTo
canThrowTo
nonBlocker
reachBlocker
Inherited from Special
:
allActive
classInit
first
next
Properties
This Special should be active whenever this module is included.
Gives this Special a slightly higher priority than QDefaults, so that it takes priority.
Methods
Can A hear B? We return true if there's a clear sound path from A to B.
Can A see B? We return true if and only if B is in light and there's a clear sight path from A to B.
Can A smell B? We return true if there's a clear scent path from A to B.
For A to be able to talk to B, A must both be able to hear B and either be in the same room as B or in a room that's close enough to be able to converse with B
Can A throw an object to B?
Is o the kind of object that would block movement from one room to the room containing b? It is unless o is a room and the room and b are both in a SenseRegion for which autoGoTo is true.
Determine if A can reach B, and if not, what stands in the way. Returns a list of containers along the path between A and B that obstruct the reach. If the two objects are in separate rooms, the top-level room containing A is in the list to represent the room separation. If there's no obstruction, we return an empty list.
Adv3Lite Library Reference Manual
Generated on 03/07/2024 from adv3Lite version 2.1