StringToActorValue
From GECK
A function added by the JIP NVSE Plugin.
Contents
Description
Returns the numeric Actor Value Code associated with the specified Actor Value name string.
- If the string does not match a name of any valid actor value, the function returns -1.
Syntax
(avCode:int) StringToActorValue avString:string
Example
set iAVCode to StringToActorValue "DamageThreshold"
set iAVCode to StringToActorValue $sAVString