SET LIGHT TO OBJECT ORIENTATION
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

RELATED INFO
Basic3D Commands
Glossary

EXAMPLE
Lighting Effect