sScanning 0 -1 -1100 0 <undefined> <undefined> 1 603 7 0 0 -1 2 self 0 0 1 image_alpha = 0; image_speed = 0.25; fadeout = 0; xoffset = 3; yoffset = 232; moreThanOne = false; if (instance_number(object_index) > 1) moreThanOne = true; 1 603 7 0 0 -1 2 self 0 0 1 fadeout = 1; 1 603 7 0 0 -1 2 self 0 0 1 if (!fadeout) { if(!instance_exists(oNotification) && moreThanOne == false) { if (image_alpha < 1) image_alpha += 0.1; } else { alarm[0] += 1; if (instance_number(object_index) == 1) moreThanOne = false; } } else if (image_alpha > 0) { image_alpha -= 0.1; } else event_user(0); 1 603 7 0 0 -1 2 self 0 0 1 if (global.ophudshowlogmsg) { global.gotolog = lognumber; notif = instance_create(0, 0, oNotification); notif.text2 = get_text("ScanEvents", "NewLog_Text"); notif.btn1_name = "Start"; //notif.btn1_name = get_text("Buttons", "Start"); notif.btn2_name = ""; notif.alarm[0] = 360; } if (mode == 0) { global.log[lognumber] = 1; global.newlog[lognumber] = 1; if (global.ophudshowlogmsg) notif.text1 = get_text("ScanEvents", "NewLog"); // New header, only on regular scan switch lognumber { case 21: { var intro = instance_create(oCharacter.x, oCharacter.y, oAreaIntro); intro.sprite_index = sIntro_A1; break; } case 23: { var intro = instance_create(oCharacter.x, oCharacter.y, oAreaIntro); intro.sprite_index = sIntro_A2; break; } case 24: { var intro = instance_create(oCharacter.x, oCharacter.y, oAreaIntro); intro.sprite_index = sIntro_A3; break; } case 26: { var intro = instance_create(oCharacter.x, oCharacter.y, oAreaIntro); intro.sprite_index = sIntro_A4; break; } case 28: { var intro = instance_create(oCharacter.x, oCharacter.y, oAreaIntro); intro.sprite_index = sIntro_A5; break; } case 29: { var intro = instance_create(oCharacter.x, oCharacter.y, oAreaIntro); intro.sprite_index = sIntro_A7; break; } case 6: { var intro = instance_create(oCharacter.x, oCharacter.y, oAreaIntro); intro.sprite_index = sIntro_A8; break; } } } if (mode == 1) { global.log[lognumber] = 2; global.newlog[lognumber] = 1; if (global.ophudshowlogmsg) notif.text1 = get_text("ScanEvents", "UpdateLog"); } /*if (instance_exists(oAreaIntro)) { with (oAreaIntro) { state = 1; } }*/ instance_destroy(); 1 603 7 0 0 -1 2 self 0 0 1 if (global.ophudshowlogmsg) { draw_background_ext(bgNotification, view_xview[0] + xoffset - 40 - (53*oControl.widescreen), view_yview[0] + yoffset - 4, 1, 1, 0, -1, image_alpha*0.7); draw_sprite_ext(sprite_index, -1, view_xview[0] + xoffset - (53*oControl.widescreen), view_yview[0] + yoffset, 1, 1, 0, -1, image_alpha); draw_set_font(fontGUI2); draw_set_color(make_colour_rgb(224, 248, 208)); // OG c_white draw_set_alpha(image_alpha); draw_text(view_xview[0] + xoffset + 8 - (53*oControl.widescreen), view_yview[0] + yoffset - 5, text); } 0 0 0 0.5 0.100000001490116 0 0.100000001490116 0.100000001490116 0.200000002980232 -1 -1