This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.

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]