To make search lights work you need Antiair (AI) truck icon on the ground. Under actor make sure to choose antiair.cpp. Finally, set the radius. This will determine when the search lights start looking around / fire up etc. (enemy plane radius). Now place an Airfield (AI) and under actor use poweron.cpp. Place the radius however far out you will have to power your search lights.
Now add a generator and a few search lights. Connect the generator to the poweron.cpp (AI truck thingy) with the set command under the actor screen of the generator.
Now fly an enemy plane near and and away you go.
|