![]() |
|
Water Collection - Printable Version +- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk) +-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html) +--- Forum: Expression 2 (https://teamscm.co.uk/forum-6.html) +--- Thread: Water Collection (/thread-2148.html) |
Water Collection - james300x - 03-02-2017 So I had this idea about the water core collection entity. I wanted to deploy the core, instantly set the position to the nearest body of water and turn on the collector. I have in my head figure out parts 1 and 2 to that sequence of steps. However, I am at a loss as to how to set the collector to active once in the water using E2. Help?
RE: Water Collection - Knight - 03-02-2017 Don't take my word for this but once it's in the body of water wouldn't it just simply be wiring a variable called 'WaterCore' to 'Activate' then setting that variable to the value of one? RE: Water Collection - james300x - 03-02-2017 Yeah but this is a newly spawned entity with no wire connections. The activate input is on the collector and not the core, so without getting the wire tool out every time how do you turn it on using e2? howdoyouturnthisthingon
RE: Water Collection - Knight - 03-02-2017 I've heard of auto-wiring something once spawned. But, I wouldn't know how to do that. RE: Water Collection - TheOneAndOnlyTee - 03-02-2017 Theres a collector entity output on the water core you can get a wirelink from that RE: Water Collection - james300x - 04-02-2017 Thank you Yeah managed to get it working after a while. Was trying to do everything from the collector. |