Difference between revisions of "GetBaseObject"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WereWolf
imported>Quetzilla
m
 
(4 intermediate revisions by 3 users not shown)
Line 6: Line 6:
Returns the base object of that reference.
Returns the base object of that reference.


As of v12, using this function without a reference returns the base object of the calling object.
==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 Functions]]
Line 14: Line 16:
[[Category: Functions]]
[[Category: Functions]]
[[Category: Functions (OBSE)]]
[[Category: Functions (OBSE)]]
[[Category: Inventory Functions]]
[[Category: Inventory Functions (OBSE)]]
[[Category: Record Variable Functions]]
[[Category: Record Variable Functions]]
[[Category: Record Variable Functions (OBSE)]]
[[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.