This command will rotate an existing light to the orientation of another object. To create the effect of headlamps, two spotlights would each take the rotational orientation of a car. The parameters must be specified using integer values.

Syntax: 
SET LIGHT TO OBJECT ORIENTATION Light Number, Object Number