This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.

GetLocalGravity

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(gravity:float) GetLocalGravity axis:axis

Returns the acceleration due to gravity in the specified axis for the current cell. Unless SetLocalGravityVector has been used, the X and Y components will always be zero.


See Also