Morrowind Mod:XSetRef
The UESPWiki – Your source for The Elder Scrolls since 1995
< Mod / Morrowind: Morrowind Mod: MWSE
A function added by MWSE.
xSetRef provides a way of calling object functions where the syntax does not allow it, e.g. "set myalchemyskill to myobject->GetAlchemy" does not work because the original set statement does not allow the use of variables as objects.
Syntax[edit]
xSetRef reference (long)
Example[edit]
long myobject long myalchemyskill xSetRef myobject set myalchemyskill to GetAlchemy
See Also[edit]
xRefType
xGetRef
xGetCombat
xGetPCTarget
xFirstNPC
xFirstItem
xFirstStatic
xNextRef