RefMapArrayGetFirst

From the Fallout3 GECK Wiki
Revision as of 17:51, 28 January 2017 by imported>Jazzisparis
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the JIP NVSE Plugin.

Description

Returns an array_var with the first Key::Value pair in the specified RefMap Array.

The first element in the returned array is the Key (reference type), and the second element is the Value (float/reference/string type).

Syntax

[help]
(array_var) RefMapArrayGetFirst arrName:string 

Or:

(array_var) RefMapFirst arrName:string

Example

let aKeyValue := RefMapArrayGetFirst "someRefMap"
let aKeyValue := RefMapFirst "someRefMap"

See Also