Page 1 of 1

Detecting "No path" event from train

Posted: Sun Jan 31, 2016 2:08 pm
by thewd
Is that possible? :)

Re: Detecting "No path" event from train

Posted: Sun Jan 31, 2016 6:48 pm
by rk84
Yes. LuaTrain class has state value. /Factorio/doc-html/LuaTrain.html#state

Meaning of values can be found in \Factorio\data\core\lualib\defines.lua