Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Door buttons...
Plazmater Offline
Member

Posts: 122
Threads: 24
Joined: Aug 2013
Reputation: 1
#1
Door buttons...

So i have a really frustrating problem... it is so basic and yet...

I made a sliding door with 2 buttons - inside and outside the room.

Now whenever I push the button (does not matter which one first), the door opens and that button starts to glow green meaning the door is open however the second button stays orange as if the door is closed... meaning i would have to push that second button 2 times to close it...

1st button is called startroom_panel_1 and the 2nd startroom_panel_2.
The door is called startroom_door_01

I made connections between them so that:
- door is connected to both buttons as startroom_panel_*
- and both buttons are connected as startroom_door_01

So i don't know what is the problem.
I looked into many original in-game maps and all doors and buttons have same settings as mine...

How do i make both buttons to have the same state (open / closed)?
09-27-2015, 10:04 PM
Find
Aaron Offline
Frictional Games

Posts: 20
Threads: 0
Joined: Aug 2013
Reputation: 6
#2
RE: Door buttons...

Name your door "cool_door", then name the buttons "cool_door_button_1" and "cool_door_button_2", and then in each of the buttons' connections tab set the ConnectedEntity to "cool_door*".

The wildcard will then change the status of all of the "cool_door" entities.

Artist.
Twitter: @aaronjclifford
(This post was last modified: 09-28-2015, 07:48 AM by Aaron.)
09-28-2015, 07:48 AM
Find




Users browsing this thread: 1 Guest(s)