Difference between revisions of "GetBaseObject"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
m (Robot: Automated text replacement (-'''.*'''\r\n +))
imported>Odessa
(expanded and added comparison to GetBaseForm)
Line 1: Line 1:
{{Function
{{Function
  |origin = FOSE1
  |origin = FOSE1
  |summary = Returns the base object id of the reference
  |summary = Returns the base object id of the [[calling reference]]
  |name = GetBaseObject
  |name = GetBaseObject
  |alias = gbo
  |alias = gbo
Line 7: Line 7:
  |referenceType = ref
  |referenceType = ref
}}
}}
==Example==
<pre>
SunnyREF.gbo ; # returns GSSunnySmiles
</pre>
==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==
*[[GetBaseForm]]
[[Category:Functions_(FOSE)]]
[[Category:Functions_(FOSE)]]

Revision as of 06:02, 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]
(ref) ref.GetBaseObject 

Or:

(ref) ref.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