RefMapArraySetRef

< [[::Category:Functions|Category:Functions]]

A function added by the JIP NVSE Plugin.

Description

Sets the ref value of the element with a Key matching the specified Object, in the specified RefMap Array. If no such element exists, it is created.

Syntax

reference.RefMapArraySetRef arrName:string value:ref baseForm:ref 

Or:

reference.RefMapSetRef arrName:string value:ref baseForm:ref

Example

RaulRef.RefMapArraySetRef "someRefMap" Ammo127mm
RefMapSetRef "someRefMap" CraigBooneRef ArmorCombat

See Also