GetLooseMod - ObjectMod
Jump to navigation
Jump to search
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.
Syntax[edit | edit source]
MiscObject Function GetLooseMod() Native
Parameters[edit | edit source]
- None
Return Value[edit | edit source]
The MiscItem associated with this loose mod.
Examples[edit | edit source]
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