SetRefExtraData
From GECK
A function added by the JIP NVSE Plugin.
Contents
Description
Sets the value stored at the specified slot index of the calling reference's Extra Data.
- The value may be numeric, a form/reference, or a string. See table below for data-type restrictions per slot.
- Calling the function with both arguments omitted will remove all extra-data from the calling reference.
Syntax
reference.SetRefExtraData slotIndex:int{0-19} value:any
Example
objectRef.SetRefExtraData 2 -903.015
objectRef.SetRefExtraData 6 WeapNV357Revolver
objectRef.SetRefExtraData 15 iIntVar
objectRef.SetRefExtraData 19 "Girly Chew Hossencofft"
objectRef.SetRefExtraData
Notes
Slot Index | Data Type |
---|---|
0-17 | Either Numeric, or Form/Reference |
18-19 | String Only |