GetSourceModIndex

From the Oblivion ConstructionSet Wiki
Revision as of 23:54, 12 July 2008 by imported>Haama (Created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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]