- Found in:
- F4SE
[DEV SERVER] Loading description...
Caveats
CK Wiki - Notes
None
Parameters
Examples
; Get the players left hand object mods.
ObjectMod[] objectMods = Game.GetPlayer().GetWornItemMods(4){For each object mod}
int LeftHand = 4 const
ObjectMod[] objectMods = Game.GetPlayer().GetWornItemMods(LeftHand)
If (objectMods)
int index = 0
While (index < objectMods.Length)
Debug.Trace("Found the object mod '" + objectMods[index] + "' on slot index " + LeftHand)
index += 1
EndWhile
Else
Debug.Trace("Slot index " + LeftHand + " had no object mods.")
EndIfAuto-Generated Example
int myInt__slotIndex
ObjectMod[] returnedValue = myActor__toCallFunctionOn.GetWornItemMods(myInt__slotIndex)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
