Page 1 of 1

[2.0.28] API has incorrect link: LuaSurface.html#request_path has outdated reference to LuaEntity.html#set_command

Posted: Fri Dec 20, 2024 5:54 pm
by berggen
https://lua-api.factorio.com/latest/cla ... quest_path says
If you want to command actual units (such as biters or spitters) to move, use LuaEntity::set_command instead.
and links to https://lua-api.factorio.com/latest/cla ... et_command. That anchor is not present.

I believe this should instead link to https://lua-api.factorio.com/latest/cla ... et_command, possibly with a tip about how to access from LuaEntity?
If you want to command actual units (such as biters or spitters) to move, use LuaCommandable::set_command instead.