object - commandobject - platoon


void SetLightsMode(int nUnit, int nLightsMode)

Scope: private

Parameters
nUnit - unit number
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