Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_archer_arrow_overworld_Create_0

(view raw script w/o annotations or w/e)
1
event_inherited();
2
active = true;
3
damage = 10;
4
target = 3;
5
tolerance = 320;
6
y -= random_range(160, 280);
7
direction = random_range(260, 280);
8
image_angle = direction;
9
image_xscale = 2;
10
image_yscale = 2;
11
speed = 8;
12
if (i_ex(obj_mainchara))
13
    x = random_range(x - 400, x + 400);