GetActorValueInfoByID - ActorValueInfo

From the CreationKit Wiki
Revision as of 23:42, 3 February 2014 by imported>CraftySentinel (Created GetActorValueInfoByID)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: ActorValueInfo Script


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


Syntax

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

Parameters

id:

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

Return Value

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


Examples

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