Step_0.gml 140 B

123456789101112
  1. if owner != noone
  2. {
  3. x = owner.x + x_offset;
  4. y = owner.y + y_offset;
  5. }
  6. if !persist
  7. {
  8. duration--;
  9. if duration < 0
  10. instance_destroy();
  11. }