Difference between revisions of "GetBaseObject"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
m (no See Also)
imported>Quetzilla
m
 
(7 intermediate revisions by 3 users not shown)
Line 4: Line 4:
  [''Ref.'']GetBaseObject
  [''Ref.'']GetBaseObject


Must be called on a reference. Returns the base object of that reference.
Returns the base object of that reference.


[[Category: OBSE Functions]]
==Notes==
* 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.
 
<!--[[Category: OBSE Functions]]
[[Category: OBSE Item Functions]]
[[Category: OBSE Item Functions]]
[[Category: OBSE Reference Functions]]
[[Category: OBSE Reference Functions]]-->
 
[[Category: Functions]]
[[Category: Functions (OBSE)]]
[[Category: Record Variable Functions]]
[[Category: Record Variable Functions (OBSE)]]

Latest revision as of 11:56, 18 February 2008

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.