object - commandobject - unit


void SetLightsMode(int nMode)

Scope: private

Parameters
nMode - lights mode:
0 - automatic lights turning,
1 - lights always turn on,
2 - lights always turn off.

Return values
none

Description
This function is used for lights mode change for unit.

See also