GetLightAmountAtPoint

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Returns a float in the range of 0 to 100, indicating how illuminated a point is at the specified X/Y/Z, in the current world/cell.

  • A value of 0 indicates full darkness, whereas 100 indicates fully-lit.

Syntax

[help]
(lightAmount:float) GetLightAmountAtPoint posX:float posY:float posZ:float

Example

set fLightAmount to GetLightAmountAtPoint 1123 -5057 900