Advanced, Complex - Breakable X's Tr Created 17 years ago2007-01-24 21:55:42 UTC by Rory Rory

Created 17 years ago2007-01-24 21:55:42 UTC by Rory Rory

Posted 17 years ago2007-01-24 21:55:42 UTC Post #210488
Here's the basic concept, no-damage red lazers going across to the reciever on the other side of the base, you cross them while they are turned on or still active, they set off the base's alarm. You break the transmitter or shut them off, you walk through freely.

Anyone know how to set triggers up to turn off by a button, AND by the transmitter being broken?

I tried setting the breakable's and buttons to target the trigger, but that didn't work - or maybe I set something up wrong.

The lasers have ot turn off too when I hit the button or break the transmitter.
Posted 17 years ago2007-01-24 22:05:39 UTC Post #210489
If you didn't make any mistakes with the names, there shouldn't be any problem with a trigger disabling the other trigger. However, you would trigger them back on when breaking the transmitter...

To be sure the triggers are KO, you might want to trigger an entity that has a "KillTarget" field, for example an invisible door somewhere. Put the name of the triggers and lasers in the killtarget field of that door and they should be disabled. Set the door to stay (delay of -1) to avoid further problems.
Your button and breakable entity would target that door.
Posted 17 years ago2007-01-24 22:16:33 UTC Post #210490
Alright cool, I'll give that a shot.

Another problem I just thought of was that if you break the transmitter to permanently shut them down, the button would still activate them.. So I'm thinking I'll just take out the button or make the lasers unbreakable, unless anyone knows a fix for this.
Posted 17 years ago2007-01-24 22:21:10 UTC Post #210491
No, if you use "KillTarget" they won't be activated again as far as I know.
Posted 17 years ago2007-01-24 22:31:59 UTC Post #210492
Ohh I see, give the trigger the same name as the button, and kill them when the transmitter breaks... alrighty

Thanks Kasperg!
Posted 17 years ago2007-01-24 22:45:21 UTC Post #210493
No no, leave the button alone. Give the trigger and the laser the same name! So that the trigger that makes the alarm go of dies (aswell as the laser) when you break the transmitter.
You must be logged in to post a response.