QSenseRegion object | senseRegion.t[1438]

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 inLight inLightFor nonBlocker reachBlocker sightBlockingContainer`

Inherited from `Special` :
`allActive classInit first next`

Properties

`active` OVERRIDDEN | `senseRegion.t[1447]`

This Special should be active whenever this module is included.

`priority` OVERRIDDEN | `senseRegion.t[1444]`

Gives this Special a slightly higher priority than QDefaults, so that it takes priority.

Methods

`canHear (a, b)` | `senseRegion.t[1531]`

Can A hear B? We return true if there's a clear sound path from A to B.

`canSee (a, b)` | `senseRegion.t[1454]`

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.

`canSmell (a, b)` | `senseRegion.t[1576]`

Can A smell B? We return true if there's a clear scent path from A to B.

`canTalkTo (a, b)` | `senseRegion.t[1622]`

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

`canThrowTo (a, b)` | `senseRegion.t[1645]`

Can A throw an object to B?

`inLight (a)` | `senseRegion.t[1518]`

no description available

`inLightFor (a, b)` | `senseRegion.t[1522]`

is B lit from the perspect of A, who may be inside B.

`nonBlocker (o, b)` | `senseRegion.t[1692]`

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.

`reachBlocker (a, b)` | `senseRegion.t[1673]`

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.

`sightBlockingContainer (a, b)` | `senseRegion.t[1503]`

Is b in a container whose contents can't be viewed remotely from a's location?

Adv3Lite Library Reference Manual
Generated on 08/12/2025 from adv3Lite version 2.2.2