sLogTrigger
0
-1
0
0
<undefined>
sLogTrigger
1
603
7
0
0
-1
2
self
0
0
1
image_speed = 0.5;
sprite_index = sLogHintMarker;
yoffset = 0;
active = false;
drawx = x;
drawy = y + yoffset;
lognum = -1;
trooperlognum = -1;
1
603
7
0
0
-1
2
self
0
0
1
active = false;
if(sprite_index != sLogFadeMarker) image_index = 0;
1
603
7
0
0
-1
2
self
0
0
1
var xx, yy;
if(place_meeting(x, y, oCharacter) || sprite_index == sLogFadeMarker) {
if(sprite_index != sLogFadeMarker) {
sprite_index = sLogLoadMarker;
}
xx = oCharacter.x;
if(oCharacter.state == oCharacter.BALL) yy = oCharacter.y - 21;
else if(oCharacter.state == oCharacter.DUCKING) yy = oCharacter.y - 29;
else yy = oCharacter.y - 40;
if(sprite_index != sLogFadeMarker && point_distance(drawx, drawy, xx, yy) > 1) {
image_speed = 0;
}
else {
image_speed = 0.13;
}
if(sprite_index == sLogFadeMarker)
image_speed = 0.5;
}
else {
if(sprite_index != sLogFadeMarker) {
sprite_index = sLogHintMarker;
image_speed = 0.5;
}
xx = x;
yy = y + yoffset;
}
drawx = lerp(drawx, xx, 0.13)
drawy = lerp(drawy, yy, 0.13)
1
603
7
0
0
-1
2
self
0
0
1
if (!active) {
active = true;
image_index = 0;
if(instance_exists(oNotification)) with(oNotification) fadeout = 1;
}
alarm[0] = 2;
1
603
7
0
0
-1
2
self
0
0
1
drawx = x;
drawy = y + yoffset;
1
603
7
0
0
-1
2
self
0
0
1
if(sprite_index == sLogFadeMarker){
instance_destroy();
}
if(sprite_index == sLogLoadMarker){
sprite_index = sLogFadeMarker;
image_index = 0;
image_speed = 0.5;
if(lognum != -1 and trooperlognum == -1) add_log(lognum);
else if(lognum == -1 and trooperlognum != -1) add_trooper_log(trooperlognum);
}
1
603
7
0
0
-1
2
self
0
0
1
if(global.opshowhud) draw_sprite(sprite_index, image_index, drawx, drawy);
1
605
0
0
0
0
0
self
0
0
1
Null
0
0
0
0.5
0.100000001490116
0
0.100000001490116
0.100000001490116
0.200000002980232
-1
0