StringToActorValue

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

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

[help]
(avCode:int) StringToActorValue avString:string

Example

set iAVCode to StringToActorValue "DamageThreshold"
set iAVCode to StringToActorValue $sAVString 

See Also