{
    GLOBAL = {ENTER = ("setStateTo: SCAN_FOR_PLAYER"); EXIT = (); UPDATE = (); }; 
    PAUSE = {UPDATE = ("pauseAI: 3600"); }; 
    "SCAN_FOR_PLAYER" = {
        ENTER = ("setDesiredRangeTo: 25600"); 
        EXIT = (); 
        "TARGET_FOUND" = ("sendScriptMessage: startScan", "setStateTo: PAUSE"); 
        UPDATE = ("pauseAI: 3", "scanForNearestShipWithPrimaryRole: player"); 
    }; 
}