It was this reddit post that raised awareness of the issue:
https://www.reddit.com/r/factorio/comme ... ific_unit/
You can print a position of entity with:
Code: Select all
/c for _, e in pairs(game.player.surface.find_entities()) do
if e.unit_number == 353079 or e.unit_number == 352947 then
game.print(e.position)
end
end
Code: Select all
game.ping(e.position)
Code: Select all
game.ping(e)
Code: Select all
e.ping()
The gps tag itself is not even defined in LUA. Also as i was typing it occured to me it might be a syntax and it is:
viewtopic.php?p=557940
However that doesn't invalidate the issue above. Not even google was able to find that information when needed, and it does not seem trivial to implement the syntax.