Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. arrow_2 = instance_create(projectile);
  2. arrow_1 = instance_create(projectile);
  3. global.temporaryobject = self;
  4.  
  5. with(projectile)
  6. {
  7. direction = global.temporaryobject.direction;
  8. speed = random(5,7);
  9. }
  10.  
  11. bomb_1 = instance_create(bomb);
  12.  
  13. with(bomb_1)
  14. {
  15. add_code(event("step"),"struct_copy(position, global.temporaryobject.arrow_1.position);");
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement