Difference between revisions of "GetActorValue"

Jump to navigation Jump to search
191 bytes added ,  23:08, 25 December 2010
Added info to specify this must be called on an actor reference and not a base NPC
imported>Vswe
m (Added Search Terms)
imported>Arthmoor
(Added info to specify this must be called on an actor reference and not a base NPC)
Line 1: Line 1:
'''Syntax:'''
'''Syntax:'''
  [''ActorID''.]GetActorValue ''StatName''  
  [''ActorRefID''.]GetActorValue ''StatName''  
  [''ActorID''.]GetAV ''StatName''
  [''ActorRefID''.]GetAV ''StatName''


'''Example:'''
'''Example:'''
Line 7: Line 7:


Returns the current, modified value of the specified stat. GetActorValue can use any stat available to the player or actor (NPCs and creatures).  
Returns the current, modified value of the specified stat. GetActorValue can use any stat available to the player or actor (NPCs and creatures).  
This function must be called on an actor reference, not the base NPC. Calling this on a base NPC will abort the script it is called in and does not generate a compile error in the CS.


==See Also==  
==See Also==  
Anonymous user

Navigation menu