Advertisement
Guest User

Untitled

a guest
Dec 10th, 2016
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. Step Event:
  2.  
  3. execute code:
  4.  
  5. if(place_meeting(x,y,o_player) and visible_lock == false and keyboard_check_pressed(ord('E'))){
  6. global.incutscene = true;
  7. visible_lock = true;
  8. }
  9.  
  10. //if(instance_exists(o_lock_1) and instance_exists(o_lock_2) and instance_exists(o_lock_3)){
  11. if(o_lock_1.num = 5 and o_lock_2.num = 5 and o_lock_3.num = 5 and done = false){
  12. ex_camera_flash(global._camera, 1.0, 200);
  13. alarm[0] = 30;
  14. done = true;
  15. }
  16.  
  17.  
  18. /*if(place_meeting(x,y,o_player) and visible_lock == true and keyboard_check_pressed(ord('E'))){
  19. global.incutscene = false;
  20. visible_lock = false;
  21. }*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement