SetAreaLightDirection(int, vector, object, float)
From NWN Lexicon
Jump to navigationJump to searchSets the light direction of origin in the area specified.
Parameters
- nLightType
- The light type returned. Valid values are the AREA_LIGHT_DIRECTION_* constants.
- vDirection
- specifies the direction of origin of the light type, i.e. the direction the sun/moon is in from the area.
- oArea
- The area to query for light direction.
- fFadeTime
- If fFadeTime is above 0.0, it will fade to the new color in the amount of seconds specified.
Description
Sets the light direction of origin in the area specified. If no valid area (or object) is specified, it uses the area of caller. If an object other than an area is specified, will use the area that the object is currently in.
Remarks
Version
This function was added in 1.87.8193.35 of NWN:EE.
Example
See Also
constants: | AREA_LIGHT_DIRECTION_* Constants |
functions: |
GetAreaLightColor() GetAreaLightDirection() SetAreaLightColor() |
author: Shadguy