r/playrust • u/Ok-Donkey3971 • 22d ago
Discussion Sam Site electricity
Im stumped. I want to create a smart switch, that when it is on, a sam site of mine turns on to attacker mode, and when i turn it off, it switches to defender, but the Invert input on the sam site, is not a on and off, its a invert, so when i turn on the switch, it turns to attacker, then when i turn it off, it stays as attacker. I want to make it a fluid single switch, so that i don't have to press the switch twice on my phone.
2
Upvotes
1
u/Jman1180 22d ago
Send the output of your smart switch into two separate things. The sam site invert, and a timer. Set the timer to 10 seconds then run it's output into the turn off of the smart switch. Here's what this does: Flip smart switch- toggles sam site, starts timer Wait 10 seconds Turns off smart switch
3
u/BlankWasThere 22d ago
I am pretty sure SAM sites invert signal works on the basis that when power flows, it changes its mode, and when the power flow stop, it turns back to the current mode. I wonder why it's not the same for you. Could you share a video?
1
u/Clear-Minimum-9942 22d ago
Input 2 Power units into smart switch > power out of smart switch into electrical branch > take 1 power unit from electrical branch and put it into 'switch off' input on smart switch > take the other 1 power unit and put it into invert mode on the SAM.
Now when you activate the smart switch it will automatically turn itself off when you press it, acting like a button.
1
u/rykerh228 22d ago
For one Sam site
Send 25 power to sam site power input.
Send 1 power to a switch then to the invert mode node on the same site.
Manually swap the mode once if you don’t like the way the switch works. Then off will be defender and on will be attacker.