ReachProblemRemoteclass
The ReachProblemRemote should only be brought into play when an actor in one room in a SenseRegion tries to touch an object in another room in the SenseRegion when the SenseRegion defines autoGoTo as true. The ReachProblemRemote will then be responsible for trying to move the actor into the room containing the target object.
class
ReachProblemRemote
:
ReachProblem
Superclass Tree (in declaration order)
ReachProblemRemote
ReachProblem
` object`
Subclass Tree
(none)
Global Objects
(none)
Summary of Properties
Inherited from ReachProblem
:
target_
Summary of Methods
check
construct
sayGoTo
tooFarAwayMsg
Inherited from ReachProblem
:
verify
Properties
destRoom
no description available
origRoom
no description available
target
no description available
Methods
check (allowImplicit)
OVERRIDDEN
This check method may be called by the checkPreCondition method of the touchObj PreCondition. Its effect is to try to move the actor into the location of the object the actor is trying to touch.
construct (a, b)
OVERRIDDEN
no description available
sayGoTo (destRoom)
Report that we are trying to head to destRoom via an implicit action. We do this separately from the normal implicit action report mechanism so that this report is display before travel begins, not at the end of it as it otherwise would be.
tooFarAwayMsg ( )
The failure message to display if we can’t attempt an implicit GoTo action to move the actor.
Adv3Lite Library Reference Manual
Generated on 15/03/2023 from adv3Lite version 1.6.1