Landing lights on retractable gear..

I'm working on a model that has the landing/taxi lights mounted on the retractable nose-gear..
Problem is.. when you use lights assigned in the aircraft.cfg file, they're "fixed".. As in.. if you retract the gear but leave the lights on.. they kinda hover out there as a "lights" all by themselves, under the nose ::) until you turn them off.
I'm at a loss ???
Problem is.. when you use lights assigned in the aircraft.cfg file, they're "fixed".. As in.. if you retract the gear but leave the lights on.. they kinda hover out there as a "lights" all by themselves, under the nose ::) until you turn them off.
I'm at a loss ???