SetEquippedData

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Lutana NVSE plugin.

Description

Equips an item on an actor using an array returned by GetEquippedData.

JIP NVSE Plugin v40 merged Lutana NVSE plugin v19. As of JIPv40, This function's syntax was changed from Lutana v19, requiring that you pass the arrays via their IDs (set to integers) if you use the script compiler override (CO).

Syntax

[help]
ref.SetEquippedData data:array nounequip:bool silent:bool 

Or:

ref.SetEqData data:array nounequip:bool silent:bool


Example

array_var arrData

SetEquippedData arrData, 1, 1

Example with CO

array_var arrData
int iArrDataID
...
SetEquippedData iArrDataID 1 1

Old Syntax (Lutana standalone)

SetEquippedData data:array noUnEquip:bool silent:bool

See Also

GetEquippedData