Open main menu

UESPWiki β

Morrowind Mod:XAddItem

< Mod / Morrowind: Morrowind Mod: MWSE

A function added by MWSE.

xAddItem is a wrapper for the original AddItem to take variables.

SyntaxEdit

ref->xAddItem objectid (string) count (long)

ExampleEdit

long pcRef

Setx pcRef to xGetRef "Player"
pcRef->xAddItem "Gold_001" 5000

See AlsoEdit