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
Connect doors
ooadrianoo Offline
Member

Posts: 82
Threads: 29
Joined: Apr 2012
Reputation: 0
#1
Connect doors

Hello community,

I have two doors and I want to connect them.
What I tried is this:

PHP Code: (Select All)
ConnectEntities("connected_doors""mansion_14""mansion_13"true0"connected_doors_callback"); 

It simply doesn't work. The names of the doors are correct. Anyway, it is possible to connect two doors?

PS: The doors are open from the beginning, so there sould'nt be problems with inverting.
(This post was last modified: 03-20-2013, 09:52 PM by ooadrianoo.)
03-20-2013, 09:51 PM
Find
ingedoom Offline
Member

Posts: 120
Threads: 12
Joined: Feb 2012
Reputation: 0
#2
RE: Connect doors

What is it supposed to do? Make the first door close when the other one is opened?

[Image: 23778.png]
03-20-2013, 10:02 PM
Website Find
ooadrianoo Offline
Member

Posts: 82
Threads: 29
Joined: Apr 2012
Reputation: 0
#3
RE: Connect doors

Both doors are opened in the beginning.
If you open one door, the other closes.
03-20-2013, 10:03 PM
Find
ingedoom Offline
Member

Posts: 120
Threads: 12
Joined: Feb 2012
Reputation: 0
#4
RE: Connect doors

(03-20-2013, 10:03 PM)ooadrianoo Wrote: Both doors are opened in the beginning.
If you open one door, the other closes.

How are you supposed to open an open door?

[Image: 23778.png]
03-20-2013, 10:22 PM
Website Find
Akos115 Offline
Member

Posts: 101
Threads: 14
Joined: Aug 2012
Reputation: 0
#5
RE: Connect doors

(03-20-2013, 10:22 PM)ingedoom Wrote:
(03-20-2013, 10:03 PM)ooadrianoo Wrote: Both doors are opened in the beginning.
If you open one door, the other closes.

How are you supposed to open an open door?

NEVER question game logic xD

03-20-2013, 10:28 PM
Find
ooadrianoo Offline
Member

Posts: 82
Threads: 29
Joined: Apr 2012
Reputation: 0
#6
RE: Connect doors

(03-20-2013, 10:22 PM)ingedoom Wrote:
(03-20-2013, 10:03 PM)ooadrianoo Wrote: Both doors are opened in the beginning.
If you open one door, the other closes.

How are you supposed to open an open door?

ohh not to open Big Grin to "move" a door^^
Sorry my English is bad.
03-20-2013, 10:30 PM
Find
ingedoom Offline
Member

Posts: 120
Threads: 12
Joined: Feb 2012
Reputation: 0
#7
RE: Connect doors

I would love to help, but I don't really have time to test the function myself, and I'm afraid that I don't fully understand your question.

[Image: 23778.png]
03-20-2013, 10:41 PM
Website Find
ooadrianoo Offline
Member

Posts: 82
Threads: 29
Joined: Apr 2012
Reputation: 0
#8
RE: Connect doors

(03-20-2013, 10:41 PM)ingedoom Wrote: I would love to help, but I don't really have time to test the function myself, and I'm afraid that I don't fully understand your question.

Okay once again

I have two doors and I want to connect these doors. Thereby I want to that the second door moves inverted to the first door. The doors are opened, because if I open the first door, the second door will not move, because it should move inverted to the other door.
03-20-2013, 10:57 PM
Find
ingedoom Offline
Member

Posts: 120
Threads: 12
Joined: Feb 2012
Reputation: 0
#9
RE: Connect doors

(03-20-2013, 10:57 PM)ooadrianoo Wrote: Okay once again

I have two doors and I want to connect these doors. Thereby I want to that the second door moves inverted to the first door. The doors are opened, because if I open the first door, the second door will not move, because it should move inverted to the other door.

I simply can't understand. Why use a script for this? Doors as default will not move when other doors are opened or closed anyway?

[Image: 23778.png]
03-20-2013, 11:06 PM
Website Find
ooadrianoo Offline
Member

Posts: 82
Threads: 29
Joined: Apr 2012
Reputation: 0
#10
RE: Connect doors

(03-20-2013, 11:06 PM)ingedoom Wrote:
(03-20-2013, 10:57 PM)ooadrianoo Wrote: Okay once again

I have two doors and I want to connect these doors. Thereby I want to that the second door moves inverted to the first door. The doors are opened, because if I open the first door, the second door will not move, because it should move inverted to the other door.

I simply can't understand. Why use a script for this? Doors as default will not move when other doors are opened or closed anyway?

No doors will not move, but if you move them, then they will move.

Imagine you have two doors in front of you. Booth are half opened. You move door A a half inch backwards and door B moves a half inch towards. And you notice: "Ohh the one door moves inverted to the other door! In that case if I completely open the one door, the other should close!!!!!"
It's the same principle with the valve and the slide door. If you spin it, the slide door should open. In that case should the one door moves if you move the other door, but not parallelic, just inverted.

PS: With "move" in the context with door I don't mean that the whole door moves around, just the way it moves when you for example close it.
(This post was last modified: 03-20-2013, 11:23 PM by ooadrianoo.)
03-20-2013, 11:21 PM
Find




Users browsing this thread: 2 Guest(s)