GetActorValueInfoByID - ActorValueInfo
Revision as of 01:38, 5 February 2014 by imported>CraftySentinel (Changed number of IDs to 163)
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)