GetBaseObject

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax:

[Ref.]GetBaseObject

Returns the base object of that reference.

Notes[edit | edit source]

  • If Ref is a base object already, then calling BaseObjectRef.GetBaseObject will halt the script (quest scripts will show as still running but won't execute any more).
  • As of v12, using this function without a reference returns the base object of the calling object.