GetLooseMod - ObjectMod

F4SE Member of: ObjectMod Script
Requires F4SE version 0.3.1 or higher.

Gets the Loose Mod item for this Object Mod. A loose mod is a MiscItem that appears in the player's inventory when the Object Mod is not attached.

SyntaxEdit

MiscObject Function GetLooseMod() Native

ParametersEdit

  • None

Return ValueEdit

The MiscItem associated with this loose mod.

ExamplesEdit

MiscObject looseMod = MyObjectMod.GetLooseMod()
If (looseMod)
    Debug.Trace("The Object Mod has a loose mod.")
Else
    Debug.Trace("The Object Mod does not have a loose mod.")
EndIf

See AlsoEdit