GetActorValueInfoByID - ActorValueInfo

From Creation Kit
Jump to: navigation, search

Member of: ActorValueInfo Script


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


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-163, 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)