1 |
if (live_call()) |
2 |
return global.live_result; |
3 |
object[0] = 2863; |
4 |
object[1] = 2859; |
5 |
object[2] = 2860; |
6 |
object[3] = 2869; |
7 |
object[4] = 2876; |
8 |
object[5] = 2877; |
9 |
object[6] = 3073; |
10 |
object[7] = 773; |
11 |
object[8] = 16; |
12 |
object[9] = 2879; |
13 |
object[10] = 309; |
14 |
object[11] = 145; |
15 |
object[12] = 1144; |
16 |
object[13] = 361; |
17 |
object[14] = 566; |
18 |
object[15] = 193; |
19 |
object[16] = 328; |
20 |
object[17] = 635; |
21 |
object[18] = 459; |
22 |
var alpha_new = starlo_take_aim_overlay_alpha; |
23 |
var alpha_id = shader_alpha; |
24 |
for (var i = 0; i < array_length_1d(object); i++) |
25 |
{ |
26 |
if (instance_exists(object[i])) |
27 |
{ |
28 |
with (object[i]) |
29 |
{ |
30 |
shader_set(sh_grayscale); |
31 |
shader_set_uniform_f(alpha_id, alpha_new); |
32 |
draw_self(); |
33 |
shader_reset(); |
34 |
} |
35 |
} |
36 |
} |