Forager

Forager

174 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.
36 Comments
Eclipse the Dragon 17 Feb @ 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 @ 1:46pm 
Are you using the object names from the docs? e.g. /getpos objForge
Eclipse the Dragon 17 Feb @ 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.
SamHammie 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
MetalTxus  [author] 4 Apr, 2022 @ 9:24am 
@Gremlin
Due to engine limitations, commands will only find objects on screen.
You will need to spawn a new instance of objFairyQueen to get her back. You can do this with cheat commands or look up mods that allow doing this without requiring cheats to be turned on.
Gremlin 3 Apr, 2022 @ 1:28pm 
I would've recommended this mod, but I just made the Fairy Queen go off screen with no way to get her back since she's gone and the mod only let's you move objects on screen...:steamthumbsdown: