1) Give the trigger a name and delete it with the following code:
deleteVehicle myTrigger
2) You want them to react when they spot an anemy, right? There seems to be a word missing in your post. In that case:
- Change the trigger type to "switch" by opening it up in the editor.
- Give the AA-unit a dismissed waypoint followed by a cycle waypoint and a search and destroy waypoint (for example)
- synchronize (F5) the switchtrigger with the cycle waypoint
- The units will start out in dismissed mode, and will remain there until the trigger is fired. They will then change behaviour to search and destroy mode (or whatever waypoint you gave them last).