GetAVForBaseActor

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(value:int) reference.GetAVForBaseActor actorValueName:string   actorBase:ref 
(value:int) reference.GetAVForBaseActorC actorValueCode:int   actorBase:ref

Returns the value of the specified actor value as defined for the base actor. If the second argument is omitted, the base object for the calling actor is used. Note that not all actor values are defined for base actors, in which case this command returns 0.