GetObjectDimensions
From GECK
A function added by the JIP NVSE Plugin.
Contents
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
Or:
(dimension:float) reference.GetObjDim 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.