ludum-dare-23/objects/obj_gunner/Alarm_0.gml

13 lines
240 B
Plaintext

if instance_exists(obj_girl)
{
iii = instance_create(x,y,obj_bulletA)
with (iii)
{
tagspeed = 3
tagdir = point_direction(x,y,obj_girl.x,obj_girl.y)
}
}
sound_play(snd_bossshot1)
alarm[0] = 60