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
m
 
(One intermediate revision by the same user not shown)
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
  |returnType = ref
  |returnType = form
  |referenceType = ref
  |referenceType = reference
}}
}}
==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)]]

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