RefMapArrayGetFloat

< [[::Category:Functions|Category:Functions]]

A function added by the JIP NVSE Plugin.

Description

Returns the float value of the element with a Key matching the specified Object, in the specified RefMap Array.

Syntax

(value:float) reference.RefMapArrayGetFloat arrName:string baseForm:ref 

Or:

(value:float) reference.RefMapGetFlt arrName:string baseForm:ref

Example

set fValue to RaulRef.RefMapArrayGetFloat "someRefMap"
set fValue to RefMapGetFlt "someRefMap" ArmorCombat

Notes

  • The function will return 0 if the RefMap is not defined/has no matching Key/element is not of type float. When necessary, verify using RefMapArrayGetType.

See Also