SHOW:
|
|
- or go back to the newest paste.
| 1 | /// @description JumpInDirection(distance, direction) | |
| 2 | /// @param distance | |
| 3 | /// @param direction | |
| 4 | ||
| 5 | /* Creator (and original version at): https://pastebin.com/u/ShaunJS */ | |
| 6 | // Teleports parent object to a spot based on given direction and distance | |
| 7 | ||
| 8 | x += lengthdir_x(argument0,argument1) | |
| 9 | y += lengthdir_y(argument0,argument1) |