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

berggen
Burner Inserter
Burner Inserter
Posts: 15
Joined: Tue Sep 01, 2020 7:12 pm
Contact:

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

Post 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.
Bilka
Factorio Staff
Factorio Staff
Posts: 3357
Joined: Sat Aug 13, 2016 9:20 am
Contact:

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

Post by Bilka »

Thanks, fixed for 2.0.42.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Post Reply

Return to “Resolved Requests”