Page 1 of 1
LuaCircuitNetwork.circuit_network_id
Posted: Wed Nov 23, 2016 4:42 pm
by Macros
In an entity's circuit network panel, there's a line that says "Connected to Network: ", followed by a number that is presumably a unique identifier for a circuit network. My request is for an API call in the LuaCircuitNetwork class to read this id number.
Re: LuaCircuitNetwork.circuit_network_id
Posted: Fri Nov 25, 2016 2:55 pm
by bobingabout
I don't know if you can get access to this as a number, but you can get access to the network through the LUA scripts. I'm not 100%, but I'm fairly sure there is a way to get the ID, even if you have to ask the network what it's ID is, rather than just asking the entity for the network ID.
Re: LuaCircuitNetwork.circuit_network_id
Posted: Fri Nov 25, 2016 10:04 pm
by Rseding91
Added for 0.15.