Difference between revisions of "GetBaseObject"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Odessa
(expanded and added comparison to GetBaseForm)
imported>Odessa
m
 
Line 1: Line 1:
{{Function
{{Function
  |origin = FOSE1
  |origin = FOSE1
  |summary = Returns the base object id of the [[calling reference]]
  |summary = Returns the base object id of the [[calling reference]].
  |name = GetBaseObject
  |name = GetBaseObject
  |alias = gbo
  |alias = gbo
  |returnType = ref
  |returnType = form
  |referenceType = ref
  |referenceType = reference
}}
}}
==Example==
==Example==

Latest revision as of 06:05, 26 April 2015

< [[::Category:Functions|Category:Functions]]

A function added by the Fallout Script Extender.

Description

Returns the base object id of the calling reference.

Syntax

[help]
(form) reference.GetBaseObject 

Or:

(form) reference.gbo

Example

SunnyREF.gbo ; # returns GSSunnySmiles

Notes

  • Will return the leveled character/creature form if called on references spawned by one. Use GetBaseForm to return the NPC/creature base form instead.

See Also