Notices

trigger_multiple problem  Thread Tools Reply
Old 06-19-2008, 03:04 PM   #1
lucampos
L1: Registered
 
lucampos is offline
Posts: 21
Thanks: 0
Thanked: 0

Default trigger_multiple problem


Hello, I made a Trigger_multiple around the red respawn room so the door opens before the person touch's it, its working well, but the problem is if someone in the other team (blue) touch the trigger, the door also opens, how do i make the trigger works only for the team i want?

i added a red_team_filter on the Filter blanket but it didint work..

what should i do?

thanks
 
Reply With Quote
Advertisement
 
Advertisement
Advertisement Sponsored links

Old 06-19-2008, 08:14 PM   #2
Ace
L3: Junior Member
 
Ace's Avatar
 
Ace is offline
Posts: 121
Thanks: 12
Thanked: 9

Default trigger_multiple problem


Have you made the filter entity that red_team_filter refers to?
Just wanted to make sure you havn't written in red_team_filter without making a filter called that with the right properties.

__________________
Ace...Confusing the experts
 
Reply With Quote
Old 06-20-2008, 02:39 PM   #3
lucampos
L1: Registered
 
lucampos is offline
Posts: 21
Thanks: 0
Thanked: 0

Default trigger_multiple problem


yes thats what happened ace lol.. i didint know about the filter thing.. but now its ok..

What i need to know now (i dunno if i should open another topic) is:
I wanna make a door that only opens when 2 buttons on the map are pressed, if you press only one, you have to press the other to the door open. Any way to do this?
 
Reply With Quote
Old 06-20-2008, 03:42 PM   #4
Tigger
L2: Member
 
Tigger is offline
Posts: 74
Thanks: 8
Thanked: 4

Default trigger_multiple problem


You can do that with a math_counter. Have each button send an Add (1) to the math_counter on press, and Add (-1 ) on release. Set the max on the math_counter to 2. OnMaxHit send the trigger to open the door, and set the min to 1. OnMinHit (one of the buttons is released) send the trigger to close the door and set the Min to 0,
 
Reply With Quote
Old 06-20-2008, 03:46 PM   #5
Skwii
L1: Registered
 
Skwii's Avatar
 
Skwii is offline
Posts: 26
Thanks: 1
Thanked 1 Time in 1 Post

Default trigger_multiple problem


Are you familiar with input/outputs?

Should the other be pressed before the other or at the same time?

If the other must be pressed before the other:
Go to the secondary buttons properties and make it start locked and then to the first buttons properties where you make it send an unlock output to the second button. (or just use filters) Got it?

Same time:
I dont know how to do this sorry... maybe a logic_counter with inputs that reset it after a time and the counter has to reach 2 for the door to open? (1 per door)
 
Reply With Quote
Old 07-08-2008, 06:23 PM   #6
94Sniper
L1: Registered
 
94Sniper is offline
Posts: 36
Thanks: 1
Thanked 1 Time in 1 Post

Default trigger_multiple problem


or if you set an output on the first button somthing like:
OnTrigger
button2
enable

or something like that
 
Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Advertisement

Reply

Previous Thread Next Thread
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -5. The time now is 09:27 PM.