Difference between revisions of "GetWornItemMods - Actor"
Changed example indent style from tabs to spaces.
imported>Qazaaq (Added GetWornItemMods example papyrus.) |
imported>Qazaaq (Changed example indent style from tabs to spaces.) |
||
Line 23: | Line 23: | ||
ObjectMod[] mods = Game.GetPlayer().GetWornItemMods(LeftHand) | ObjectMod[] mods = Game.GetPlayer().GetWornItemMods(LeftHand) | ||
If (mods) | If (mods) | ||
int index = 0 | |||
While (index < mods.Length) | |||
Debug.Trace("Found the object mod '" + mods[index] + "' on slot " + LeftHand) | |||
index += 1 | |||
EndWhile | |||
Else | Else | ||
Debug.Trace("Slot " + LeftHand + " had no object mods.") | |||
EndIf | EndIf | ||
</source> | </source> |