Forager

Forager

179 ratings
Move Objects
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
3.583 KB
9 Sep, 2020 @ 10:22am
10 Sep, 2020 @ 10:49am
4 Change Notes ( view )

Subscribe to download
Move Objects

Description
Description
Adds new commands allowing the movement of objects.

Object names can be found in the documentation[chrisanselmo.com].

Does not require cheats to be enabled.

Due to engine limitations, commands will only find objects on screen.
Make sure not to move objects off-screen as they will be lost forever.

Command List
/getpos object (returns x and y for the closest object instance)
/modpos object x y (modifies x and y for the closest object instance by the given amounts)
/setpos object x y (sets x and y for the closest object instance)
/snappos object (snaps the closest object instance to the building grid)
/movetocursor object (moves the closest object instance to the cursor's position)
/movetoplayer object (moves the closest object instance to the player's position)

How to use
Press T while ingame, which will bring up the console. Then input your command.

Frequently asked
Q: Can you add a command that gives you the name of objects near to the player?
A: I don't think that's possible; the function that returns the nearest instance requires the object name as a parameter.
38 Comments
MetalTxus  [author] 6 Jul @ 1:47am 
It's not the first time I've been asked that, so I added it to the description.
The answer is: no; I don't think it's possible.
Trenyc 5 Jul @ 3:22pm 
Hi! Please if you still maintain this mod, it would be very helpful if you could add a `/getobjectname` command that would return the object names of objects in like a 5-10 pixel radius of the character. If this is possible, it would help with figuring out object names of modded objects when the mod author doesn't provide a list.
Eclipse the Dragon 17 Feb, 2024 @ 3:15pm 
no. didn't know the things name was needed.

but the 'add a move tool' idea i gave will make the whole thing easyer. you hit the thing you want to move (like the Forge) and it'll act like you used the /getpos objForge Command.
MetalTxus  [author] 17 Feb, 2024 @ 1:46pm 
Are you using the object names from the docs? e.g. /getpos objForge
Eclipse the Dragon 17 Feb, 2024 @ 1:19am 
mod not working. tryed all Commands, but 'object not found' or the game sees the Commands as not Commands over and over.

i have a better idea for a mod. the mod will need you to mine the objects up, but you'll get back 100% of the things you used to make it.
or better, add a move tool.
MetalTxus  [author] 12 Nov, 2023 @ 1:23am 
> Any chance you can add a command called /getobj that'll tell you the name of the nearest object so you can move stuff around easier?

I don't think that's possible; the function that returns the nearest instance requires you to feed it the object name.
SamTheGoldenFox 11 Nov, 2023 @ 9:25pm 
Any chance you can add a command called /getobj that'll tell you the name of the nearest object so you can move stuff around easier?
76561199067907776 16 Jun, 2022 @ 1:48pm 
tbh wind i saw this mod i thout it made it so you could go to the build struger blueprint and use that to move stuff around just like how you can in last day on earth where you can easly move chest
Gremlin 10 Apr, 2022 @ 8:55am 
@MetalTxus

Thanks for the response. I was able to make a new instance!
Elspeth 5 Apr, 2022 @ 9:16am 
@MetalTxus you could include a check that it is not possible to move the desired npc out of bounds