NX GetEVFoAr

Revision as of 09:45, 2 September 2014 by imported>Odessa (created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::Category:Functions|Category:Functions]]

A function added by the NX NVSE plugin.

Description

Returns a string map containing every form NX variable (EVFo) associated with the calling reference, with a key sharing the specified prefix. Keys in the returned array match the NX ones. Note that the entries are copies, and modifying their values will not change the NX variables.

Syntax

(AllEVFo:stringmap) reference.NX_GetEVFoAr Prefix:string

Example

Let's say you want to keep track of some actor's favorite things:

array_var Favorites
let Favorites := SunnyREF.NX_GetEVFoAr "FAV:"
ar_dump Favorites

; and that ar_dump readout will look like:
[FAV:Food] : NVGeckoSteak
[FAV:Weapon] : WeapNVVarmintRifle
[FAV:Drink] : Beer
; etc 

See Also