I have an MG Jeep with a Switch Trigger Waypoint. When the switch is thrown the Jeep heads off to a S&D WP with a Cycle Waypoint on top. The Jeep behaviour is set to Aware from previous WP's, the behaviour for the S&D and Cycle WP's is No Change. The Jeep has the following event handler:
Jeep AddEventHandler["Hit",{[] exec "jeepgostealth.sqs"}]
The script jeepgostealth.sqs is as follows:
Jeep SetBehaviour "Stealth"
My desired result is that the Jeep is on a neverending S&D with headlights on, but after coming under fire, the behaviour is set to stealth and the headlights go off. For some reason the Jeep's headlights come back on after a few seconds.
I am guessing that the Jeep defaults to it's previous WP behaviour. Is there a simple way I can get my desired result? (Using the lights off action works even more poorly; the lights flash off for only a split second.) Sould I set all WP behaviours to No Change? Help!