GetActorValueInfoByID - ActorValueInfo

From the CreationKit Wiki
Jump to navigation Jump to search

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)

Parameters[edit | edit source]


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)