NX GetEVFoAr

From GECK
Jump to: navigation, search


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

[help]
(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