Setting up a building for the robot to create?

Place to get help with not working mods / modding interface.
ElGaucho
Burner Inserter
Burner Inserter
Posts: 19
Joined: Mon Mar 27, 2017 9:27 pm
Contact:

Setting up a building for the robot to create?

Post by ElGaucho »

I would like to instruct the robots to build a specific entity at a position, just like you can do it by using shift or placing a blue. Is there any possibility to do so without using a blueprint?
User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

Re: Setting up a building for the robot to create?

Post by prg »

Code: Select all

surface.create_entity{name="entity-ghost", inner_name="the-actual-entity", ... the usual stuff here ...}
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!
ElGaucho
Burner Inserter
Burner Inserter
Posts: 19
Joined: Mon Mar 27, 2017 9:27 pm
Contact:

Re: Setting up a building for the robot to create?

Post by ElGaucho »

awesome, thank you!
Post Reply

Return to “Modding help”