Difference between revisions of "GetBaseObject"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
m (Formatting)
imported>Quetzilla
m
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]
Returns the base object of that reference.


'''Syntax:'''
'''Syntax:'''
  [''Ref.'']GetBaseObject
  [''Ref.'']GetBaseObject
Returns the base object of that reference.


==Notes==
==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.
* As of v12, using this function without a reference returns the base object of the calling object.


Line 15: 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.