add a output for entity.connections for chain and rail signals

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
User avatar
hansjoachim
Filter Inserter
Filter Inserter
Posts: 258
Joined: Wed Apr 26, 2017 7:03 pm
Contact:

add a output for entity.connections for chain and rail signals

Post by hansjoachim »

Getting support for it would be really helpful for my mod as with it I can automatically place safe outputs for train intersections and automatically test all the intersections.

If I do

if entity.type == "rail-signal" then
connections = connections.entity

I get nil as connections.entity isnt support for rail signals.

In the debug it says that connections can be == back in, back out, front in or front out
Post Reply

Return to “Modding interface requests”