I'm tried to teleport some entity (literally, the copy of wooden box), but I get this error.
Code: Select all
myentity.teleport({0, 0})
http://lua-api.factorio.com/0.14.21/Lua ... l.teleport
Note: Some entities may not be teleported. For instance, walls, rail signals or entities with fluid boxes won't allow teleportation and this method will always return false when used on any such entity.