GetAllMods - ObjectReference

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

F4SE Member of: ObjectReference Script
Requires F4SE version 0.2.0 or higher.

Returns all the Object Mods for this reference.

Syntax[edit | edit source]

ObjectMod[] Function GetAllMods() Native

Parameters[edit | edit source]

None

Return Value[edit | edit source]

An array of Object Mods for this reference.

Examples[edit | edit source]

ObjectMod[] mods = MyWeapon.GetAllMods()
Debug.Trace(mods)

Notes[edit | edit source]

None

See Also[edit | edit source]

None