Difference between revisions of "GetActorValueInfoByID - ActorValueInfo"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>CraftySentinel
(Created GetActorValueInfoByID)
 
imported>CraftySentinel
m (Changed number of IDs to 163)
 
Line 3: Line 3:




Attempts to get an AVI via ID (0-154).
Attempts to get an AVI via ID (0-163).




Line 17: Line 17:
=== Parameters ===
=== Parameters ===
''id'':
''id'':
::The ID of the actor value to get the info form of. (0-154, See [[ActorValueInfo Script#Actor Value IDs|Actor Value IDs]] for full list.)
::The ID of the actor value to get the info form of. (0-163, See [[ActorValueInfo Script#Actor Value IDs|Actor Value IDs]] for full list.)


=== Return Value ===
=== Return Value ===

Latest revision as of 01:38, 5 February 2014

Member of: ActorValueInfo Script


Attempts to get an AVI via ID (0-163).


Syntax[edit | edit source]

ActorValueInfo Function GetActorValueInfoByID(int id) global native
ActorValueInfo Function GetAVIByID(int id) global
	return GetActorValueInfoByID(id)
EndFunction

Parameters[edit | edit source]

id:

The ID of the actor value to get the info form of. (0-163, See Actor Value IDs for full list.)

Return Value[edit | edit source]

The info form, if an info form could not be found none is returned.


Examples[edit | edit source]

;Returns the AVI for HeavyArmor (Which is ID 11)
ActorValueInfo HeavyArmorAVI = ActorValueInfo.GetActorValueInfobyID(11)