Open main menu

UESPWiki β

Morrowind Mod:XGetCondition

< Mod / Morrowind: Morrowind Mod: MWSE

A function added by MWSE.

XGetCondition returns the current condition for armor and weapons and remaining uses for lockpicks, probes, and repair tools.

In v0.9.4a, this function returned the max condition of armor, weapons, lockpicks, probes, and repair items. This is fixed in the MWSE update released by Merzasphor.

SyntaxEdit

condition (long): ref->xGetCondition

ExampleEdit

long ref
long condition

setx condition to ref->xGetCondition

See AlsoEdit