Code: Select all
creeper = game.player.character.getselected()
creeper.setcommand({ type=defines.command.gotolocation, destination={x=0,y=-40} })
Code: Select all
creeper = game.player.character.getselected()
creeper.setcommand({ type=defines.command.gotolocation, destination={x=0,y=-40} })
yea its same in control.luaficolas wrote:what about if you run it by the control.lua?
Also Im not sure but I think you need to add a distraction, or that is just for attackimg?