Page 1 of 1

position of items on transport line

Posted: Mon Mar 26, 2018 5:16 pm
by sparr
I would like to know where on the belt the items are, either in the 1d coordinate system of the "position" used by other luatransportline functions, or in the 2d world Position coordinate system.

Use case: figure out viewtopic.php?f=28&t=59065 by checking for changed positions

location of items on transportline

Posted: Tue Mar 26, 2019 8:04 pm
by sparr
I have a LuaTransportLine with some items on it. I want to know where on the belt/line they are located.

This is an alternative to viewtopic.php?f=28&t=59065 with the same goal.

Re: position of items on transport line

Posted: Wed Apr 10, 2019 10:15 pm
by sparr
I could check the positions of the last two items to see if they are in the "over-packed" state of a stalled belt.

Re: position of items on transport line

Posted: Sat Aug 15, 2020 4:08 am
by sparr
Bump! Could still use this.