NX GetEVFlAr

From GECK
Jump to: navigation, search


A function added by the NX NVSE plugin.

Description

Returns a string map containing every float NX variable (EVFl) 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]
(AllEVFl:stringmap) reference.NX_GetEVFlAr Prefix:string 

Example

Let's say you have a loan shark and a load of characters owe them money.

array_var Debts
let Debts:= LoanSharkREF.NX_GetEVFlAr "LS:Debts"
ar_dump Debts

; and that ar_dump readout will look like:
[LS:Debts:SunnySmiles] : 550
[LS:Debts:EasyPete] : 275
; etc 

See Also