Advertisement
Guest User

Untitled

a guest
Nov 28th, 2014
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.    
  2.  
  3.     //
  4.     with(instance_create(muzzle_x, muzzle_y, obj_rd_5_56_45mm_0))
  5.     {
  6.         direction = other.angle[0];
  7.         speed = 0;
  8.     }
  9.     //
  10.     with(instance_create(ejectionport_x, ejectionport_y, obj_rd_5_56_45mm_0_shell))
  11.     {
  12.         direction = other.angle[0]-90+random(20-+random(20));
  13.         speed = 2+random(2);
  14.     }
  15.     //
  16.     with(instance_create(muzzle_x, muzzle_y, obj_ar_m16a2_0_mflash))
  17.     {
  18.         direction = other.angle[0];
  19.         speed = 0;
  20.     }
  21.     //
  22.     with(instance_create(muzzle_x, muzzle_y, obj_snd_ar_m16a2_0_fire))
  23.     {
  24.         direction = other.angle[0];
  25.         speed = 0;
  26.     }
  27.     //
  28.     recoil = recoil+10;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement