GetObjectDimensions

Revision as of 02:36, 29 March 2017 by imported>Jazzisparis
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::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

(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