# File generated by Wizard 2.9.0 on Oct 9, 2025. advanced_behavior UCAV_move script_variables WsfControlMessage msg=WsfControlMessage(); string str=""; WsfTrack track=WsfTrack(); end_script_variables on_init end_on_init on_message type WSF_CONTROL_MESSAGE script WsfControlMessage msg=(WsfControlMessage)MESSAGE; writeln("receive",msg.AuxDataString("task")); str=msg.AuxDataString("task"); track=(WsfTrack)msg.AuxDataObject("track"); end_script end_on_message precondition if(str=="MOVE") { return true; } return false; end_precondition execute if(!track.WithinZoneOf(PLATFORM,"battalion_sector")) { double relativeAzimuthOf= PLATFORM.RelativeAzimuthOf(track.CurrentLocation()); PLATFORM.TurnToRelativeHeading(relativeAzimuthOf); PLATFORM.GoToSpeed(200);#m/s } str=""; return Success(); end_execute end_advanced_behavior