Advertisement
SemiMetalAlchemist

Pickup nearby item

Mar 23rd, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (distance_to_object(instance_nearest(x, y, obj_item) <= 10))) {
  2.     inst = instance_nearest(x, y, obj_item);
  3. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement