RefMapArrayGetRef
From GECK
A function added by the JIP NVSE Plugin.
Contents
Description
Returns the ref value of the element with a Key matching the specified Object, in the specified RefMap Array.
Syntax
(value:ref) reference.RefMapArrayGetRef arrName:string baseForm:ref
Or:
(value:ref) reference.RefMapGetRef arrName:string baseForm:ref
Example
set rValue to RaulRef.RefMapArrayGetRef "someRefMap"
set rValue to RefMapGetRef "someRefMap" ArmorCombat
Notes
- The function will return 0 if the RefMap is not defined/has no matching Key/element is not of type ref. When necessary, verify using RefMapArrayGetType.