GetActorValueInfoByID - ActorValueInfo

Revision as of 01:38, 5 February 2014 by imported>CraftySentinel (Changed number of IDs to 163)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: ActorValueInfo Script


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


SyntaxEdit

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

ParametersEdit

id:

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

Return ValueEdit

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


ExamplesEdit

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