Difference between revisions of "GetActorValue"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
(Partial RV: syntax is more accurate, so it can stay, but the note is out of place - that's true of EVERY function that uses UseReference.)
Line 2: Line 2:
  [''ActorRefID''.]GetActorValue ''StatName''  
  [''ActorRefID''.]GetActorValue ''StatName''  
  [''ActorRefID''.]GetAV ''StatName''
  [''ActorRefID''.]GetAV ''StatName''
 
s
'''Example:'''
'''Example:'''
  GetActorValue Strength  
  GetActorValue Strength  

Revision as of 14:23, 21 December 2023

Syntax:

[ActorRefID.]GetActorValue StatName 
[ActorRefID.]GetAV StatName

s Example:

GetActorValue Strength 

Returns the current, modified value of the specified stat. GetActorValue can use any stat available to the player or actor (NPCs and creatures).

See Also