Team Spartan Cookies & Milk Forums
Valve issue - Printable Version

+- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk)
+-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html)
+--- Forum: Help and Support (https://teamscm.co.uk/forum-8.html)
+--- Thread: Valve issue (/thread-758.html)



Valve issue - LocInt - 25-02-2015

Hey,

For some reason Valve:getNode()==nil in starfall is always true even if the network is active and im transfering resources.

With other entities like refinement core this work just fine but with valves getNode is always nil.

Propably because valve is connected to two nodes and its trying to return array?

-Loc


RE: Valve issue - Person8880 - 26-02-2015

It's nil because valves aren't the same as other entities.

It'll return a tuple after the next server start, i.e
local PushNode, PullNode = Valve:getNode()



RE: Valve issue - LocInt - 26-02-2015

(26-02-2015, 06:52 PM)Person8880 Wrote: It's nil because valves aren't the same as other entities.

It'll return a tuple after the next server start, i.e
local PushNode, PullNode = Valve:getNode()

Thanks!