GetSourceModIndex

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search


A command for Oblivion Script Extender

Syntax:

(index:short) reference.GetSourceModIndex object:ref

Returns the mod index of the plugin from which the specified object originates. This is equivalent to the first two digits of the object's FormID.

See Also[edit | edit source]