1 | function cutscene_camera_freeze() //gml_Script_cutscene_camera_freeze |
2 | { |
3 | if instance_exists(obj_camera) |
4 | instance_destroy(obj_camera) |
5 | var xx = __view_get((9 << 0), 0).x |
6 | var yy = __view_get((9 << 0), 0).y |
7 | if (argument_count > 0) |
8 | { |
9 | xx = argument[0] |
10 | yy = argument[1] |
11 | } |
12 | instance_create(xx, yy, obj_camera) |
13 | __view_set((9 << 0), 0, 1120) |
14 | obj_camera.move = false |
15 | cutscene_advance() |
16 | return true; |
17 | } |