Ok, so I know how to make it so when you knock out a senty, it deactivates things like barriers and lazers, but I can’t figure out how to make it so the object I’m trying to deactivate (lazer) only deactivates if you kill MULTIPLE sentys rather than just one. The problem I’m mainly having is that it will deactivate if I only kill one, rather than the three I’m trying to have you kill to deactivate the lazer. please help
Wire the sentry to when sentry gets knocked out, deactivate lasar. Then place many sntries and wire them to different lasars, and stack the lasars till it looks like one.
Make a counter with a target of how many sentries you need to be killed. Next, make a ko manager that listens for a sentry knockout. Make that increase the counter. When the counter reaches the target, it should deactivate the barrier.
Welcome to the community! Thank you for putting the question in the body of the post and not in the title!
Welcome to the forum! Make sure to mark the best answer as a solution.
this doesnt work the laser deactivates when just 1 is killed rather then both of them
Then wire both of them to a counter that has a target of 2.
(Do this for both sentries)
Sentry Knocked Out > Increment Counter
Target Value Reached > Deactivate Laser
Welcome to the forum, @Wonder154! Check out the new-user-must-read and forum-tips for more easy help! Read the Community Guidelines for a gist of the rules. If you ever run into a hard problem, just ask away! After all, this is a community forum!
Hey, @Wonder154 please mark a solution.
(mark the post that helped you solve your problem a solution)
Ok so here’s what you need to do. Make a counter that has a max value of 3. Put down a knockout manager and set them to listen for sentry knockouts. When a sentry is knocked out increment the counter. When the counter reaches 3 have it deactivate the barrier.
this is an off topic thing but is there a way to make a timer or something that after the laser gets deactivated it will turn back on after a few seconds and the counter will reset?
i figured out that part but how do i get the counter to reset after hitting the target value?
use a wire repeater. target value reached > repeat wire pulse
wire pulse repeated > reset counter
This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.