Page 1 of 1

Setting up a building for the robot to create?

Posted: Mon Apr 17, 2017 11:19 am
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?

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

Posted: Mon Apr 17, 2017 12:03 pm
by prg

Code: Select all

surface.create_entity{name="entity-ghost", inner_name="the-actual-entity", ... the usual stuff here ...}

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

Posted: Mon Apr 17, 2017 12:24 pm
by ElGaucho
awesome, thank you!