Morrowind Mod:XFirstStatic
The UESPWiki – Your source for The Elder Scrolls since 1995
< Mod / Morrowind: Morrowind Mod: MWSE
A function added by MWSE.
xFirstStatic returns a reference like xFirstNPC except this one is the top of a list of static objects. This function also returns activator, door, container and clothes references.
In v0.9.4a this function is bugged: it may not return all references in exterior cells, and it returns deleted references. These bugs are fixed in the MWSE update released by Merzasphor.
Syntax[edit]
reference (long): xFirstStatic
Example[edit]
long StaticRef ifx ( StaticRef ) setx StaticRef to xNextRef StaticRef else setx StaticRef to xFirstStatic endif if ( StaticRef == 0 ) messagebox "end" endif
See Also[edit]
xSetRef
xRefType
xGetRef
xGetCombat
xGetPCTarget
xFirstNPC
xFirstItem
xNextRef