Detecting "No path" event from train

Place to get help with not working mods / modding interface.
Post Reply
thewd
Burner Inserter
Burner Inserter
Posts: 17
Joined: Sun Dec 07, 2014 10:39 am
Contact:

Detecting "No path" event from train

Post by thewd »

Is that possible? :)

User avatar
rk84
Filter Inserter
Filter Inserter
Posts: 556
Joined: Wed Feb 13, 2013 9:15 am
Contact:

Re: Detecting "No path" event from train

Post 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
Test mode
Searching Flashlight
[WIP]Fluid handling expansion
[WIP]PvP gamescript
[WIP]Rocket Express
Autofill: The torch has been pass to Nexela

Post Reply

Return to “Modding help”