IAction class | action.t[1137]

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

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

Summary of Properties

`againRepeatsParse`

Inherited from `Action` :
`actionFailed advanceOnFailure allowAll combineDuplicateObjects 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

`checkAction execResolvedAction resolvedObjectsInScope scoreObjects setResolvedObjects`

Inherited from `Action` :
`acknowledgeNotifyStatus addExtraScopeItems addImplicitTime advanceTime afterAction announceObject beforeAction buildImplicitActionAnnouncement buildScopeList checkActionPreconditions commandNotPresent exec execAction execCycle 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[1142]`

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

Methods

`checkAction ( )`OVERRIDDEN | `action.t[1200]`

no description available

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

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

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

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[1150]`

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[1192]`

Nothing to do here.

Adv3Lite Library Reference Manual
Generated on 13/06/2025 from adv3Lite version 2.2.1