SetTileMainLightColor(location, int, int)

Sets the main light colors for a tile.

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

Parameters

lTileLocation

This specifies the location of the tile.

nMainLight1Color

TILE_MAIN_LIGHT_COLOR_*

nMainLight2Color

TILE_MAIN_LIGHT_COLOR_*


Description

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



Remarks

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


Version

1.22

See Also

functions: SetFogColor
categories: Lighting Effects Functions
constants: TILE_MAIN_LIGHT_COLOR_* Constants


 author: Tom Cassiotis