GetObjectDimensions

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the JIP NVSE Plugin.

Description

Returns either the length(X), width(Y) or height(Z) (in game units) of a physical game-object.

Syntax

[help]
(dimension:float) reference.GetObjectDimensions axis:X/Y/Z baseForm:ref

Example

set fDimX to objectRef.GetObjectDimensions X
set fDimZ to GetObjectDimensions Z NukaVendingMachine

Notes

  • The dimensions are the same as those of the bounding-box encapsulating the object, in the GECK.

See Also