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
Sliding doors!
Zjurc Offline
Junior Member

Posts: 43
Threads: 8
Joined: Jan 2012
Reputation: 0
#3
RE: Sliding doors!

Ahhh thank you very much! Your extremely detailed post helped me a lot! I bet that dot at the end was also very time consuming!

I managed to figure out everything by myself, so ill just post an example script on how everything should be set(doing this for newbies and people who seek help searching through old posts and topics):

PHP Code: (Select All)
void OnStart()
{
    
InteractConnectPropWithMoveObject("slidingdoor""valve""slidingdoor"truefalse, -1);



"slidingdoor" = that big gray sliding door. put its name from the level editor in this little slot.

"valve" = or wheel as some call it - its that little spinning thing you will open the door with. put its name from the level editor in this slot.

-1 = clockwise moving. if you want to move the valve/wheel anti-clockwise put '1'.
(this is just a pure guess what this number does, so don't take my word for it)

Also in the level editor there are quite a few options for the valve/wheel.
You can set it how much for it to spin, in what direction, should it get stuck etc.
02-09-2012, 12:57 PM
Find


Messages In This Thread
Sliding doors! - by Zjurc - 02-08-2012, 08:04 PM
RE: Sliding doors! - by Your Computer - 02-09-2012, 02:21 AM
RE: Sliding doors! - by Zjurc - 02-09-2012, 12:57 PM
RE: Sliding doors! - by Your Computer - 02-09-2012, 01:09 PM
RE: Sliding doors! - by Zjurc - 02-09-2012, 03:50 PM



Users browsing this thread: 1 Guest(s)