SetTileMainLightColor

From NWN Lexicon



Contents

[edit] SetTileMainLightColor(location, int, int)

Sets the main light colors for a tile.

void SetTileMainLightColor(
    location lTileLocation,
    int nMainLight1Color,
    int nMainLight2Color
);

[edit] Parameters

lTileLocation

This specifies the location of the tile.

nMainLight1Color

TILE_MAIN_LIGHT_COLOR_*

nMainLight2Color

TILE_MAIN_LIGHT_COLOR_*


[edit] Description

Sets the main light colors on the tile located at lTileLocation.



[edit] Remarks

You must call RecomputeStaticLighting() after calling this function in order for the changes to occur visually for the players.


[edit] Version

1.22

[edit] See Also

functions: 

SetFogColor

constants: 

TILE_MAIN_LIGHT_COLOR_* Constants



 author: Tom Cassiotis
 

Personal tools
Categories