GetBaseObject

From GECK
Jump to: navigation, search


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 a dynamic (created in-game) form if called on references spawned by a base form that is templated to a levelled list. Use GetBaseForm to return the 'spawning' NPC/creature base form instead, ie the one that was placed in the cell.

See Also