You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AM2R-The-Horde-Multitroid/Export_Code/gml_Script_add_trooper_log.gml

33 lines
616 B

var i;
i = 7
while (i >= 0)
{
if (global.trooperlog[i] == 0)
{
global.trooperlog[i] = argument[0]
break
}
else
{
i--
continue
}
}
if (global.log[45] == 1)
{
global.newlog[45] = 1
global.gotolog = 45
if global.ophudshowlogmsg
{
notif = instance_create(0, 0, oNotification)
notif.text1 = get_text("ScanEvents", "UpdateLog")
notif.text2 = get_text("ScanEvents", "UpdateLog_Text")
notif.btn1_name = "Start"
notif.btn2_name = ""
notif.alarm[0] = 360
notif.log = 1
}
}
else
add_log(45)