IAction class | action.t[1103]

An IAction is an Action that doesn't directly act on any objects. At least in this version of the library it works just like the base Action class.

`class IAction : Action`

Superclass Tree (in declaration order)

`IAction`
`Action`
`ReplaceRedirector`
`Redirector`
`object`

Subclass Tree

`IAction`
`LiteralAction`
`MiscConvAction`
`NumericAction`
`SystemAction`
`FileOpAction`
`TopicAction`
`ImplicitConversationAction`

Global Objects

`ClimbDownVague ClimbUpVague Continue FiatLux GetOut GoBack Goodbye GoSomewhere Hello Inventory Jump JumpOffIntransitive Lie Listen Look LookHere Sit Sleep Smell Stand Think TypeVague VagueTravel Wait WhereAmI WhereGo WhoAmI WriteVague Yell`

Summary of Properties

`againRepeatsParse`

Inherited from `Action` :
`actionFailed advanceOnFailure allowAll extraMessageParams failCheckMsg failedActionCountsAsTurn implicitTimeTaken includeInUndo isConversational isImplicit isRepeatable oldRoom parentAction parentAllowAll preCond redirectParent reportImplicitActions scopeList spellingPriority synthParamID timeTaken turnsTaken unhides verbRule verifyObj wasIlluminated`

``

``

Summary of Methods

`execCycle execResolvedAction resolvedObjectsInScope scoreObjects setResolvedObjects`

Inherited from `Action` :
`acknowledgeNotifyStatus addExtraScopeItems addImplicitTime advanceTime afterAction announceObject beforeAction buildImplicitActionAnnouncement buildScopeList checkAction checkActionPreconditions commandNotPresent exec execAction execGroup getAll getAllUnhidden getMessageParam getPostImplicitReports implicitAnnouncement reportAction setMessageParam setMessageParams spPrefix spSuffix synthMessageParam turnSequence verify verifyObjRole wrapObjectsNP`

Inherited from `ReplaceRedirector` :
`redirect`

Inherited from `Redirector` :
`askMissingLiteral doInstead doNested doOtherAction`

Properties

`againRepeatsParse` OVERRIDDEN | `action.t[1108]`

There's usually no point in parsing an IAction again when it's repeated since there are no objects to have changed.

Methods

`execCycle (cmd)`OVERRIDDEN | `action.t[1156]`

Otherwise, display the normal output from this action

`execResolvedAction ( )` | `action.t[1136]`

These methods are provided to allow an IAction to be invoked as an implicit action.

`resolvedObjectsInScope ( )` | `action.t[1188]`

An IAction has no resolved objects, so we simply return true to indicate that scope is not a problem.

`scoreObjects (cmd, role, lst)`OVERRIDDEN | `action.t[1116]`

For an IAction there's no point in trying to score anything but the Actor object; attempting to score objects via their verify properties will cause a run-time error, since IActions don't define verify properties and the like.

`setResolvedObjects ([objs])` | `action.t[1182]`

Nothing to do here.

Adv3Lite Library Reference Manual
Generated on 03/07/2024 from adv3Lite version 2.1