NX GetEVStAr
Revision as of 08:31, 2 September 2014 by imported>Odessa (created. source doctasax)
< [[::Category:Functions|Category:Functions]]
A function added by the NX NVSE plugin.
Description
Returns a string map containing every string NX variable (EVSt) 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
(AllEVSt:stringmap) reference.NX_GetEVStAr Prefix:string
Example
Let's say you've had a few bar fights, buddyref's won and lost some, to return that data, you'd go:
array_var ar_results let ar_results := BuddyRef.NX_GetEVStAr "DM:Fight" ar_dump ar_results ; and that ar_dump readout will look like: [DM:Fight:1:Score] : Won [DM:Fight:2:Score] : Lost ; etc