IActionclass | action.t[1073]

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 VagueTravel Wait WhereAmI WhereGo WhoAmI Yell`

Summary of Properties

`againRepeatsParse`

Inherited from `Action` :
`actionFailed advanceOnFailure allowAll extraMessageParams failCheckMsg implicitTimeTaken includeInUndo isImplicit isRepeatable oldRoom parentAction parentAllowAll preCond redirectParent reportImplicitActions scopeList spellingPriority synthParamID timeTaken turnsTaken unhides 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 implicitAnnouncement reportAction setMessageParam setMessageParams spPrefix spSuffix synthMessageParam turnSequence verify verifyObjRole wrapObjectsNP`

Inherited from `ReplaceRedirector` :
`redirect`

Inherited from `Redirector` :
`doInstead doNested doOtherAction`

Properties

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

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

Otherwise, display the normal output from this action

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

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

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

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

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

Nothing to do here.

Adv3Lite Library Reference Manual
Generated on 12/12/2022 from adv3Lite version 1.6