Difference between revisions of "GetBaseObject"
Jump to navigation
Jump to search
imported>Geckbot (Automated import of articles) |
imported>Odessa m |
||
(2 intermediate revisions by 2 users 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 = | |returnType = form | ||
|referenceType = | |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
(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.