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


Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Moveable Ladder
Author Message
barkingtons Offline
Junior Member

Posts: 2
Joined: May 2015
Reputation: 0
Post: #1
Moveable Ladder

Hey, I'm sorry if this is a stupid question. I'm not very experienced with making a custom story but I try my best.
So my question is how does the movable ladder work (Entities - gameplay - ladder_moveable) and how can I use it / make a puzzle with it? I just know that when I put it in my map the movable part falls to the ground and I'm not sure how I can do something with this.
08-07-2015 05:30 PM
Find all posts by this user Quote this message in a reply
Slanderous Offline
Posting Freak

Posts: 1,608
Joined: Dec 2012
Reputation: 62
Post: #2
RE: Moveable Ladder

Firstly, tick "static physics" in the ladder properties in level editor, then use SetMoveObjectState function, and SetPropStaticPhysics to false. I think that should work.
(This post was last modified: 08-07-2015 06:24 PM by Slanderous.)
08-07-2015 06:21 PM
Find all posts by this user Quote this message in a reply
barkingtons Offline
Junior Member

Posts: 2
Joined: May 2015
Reputation: 0
Post: #3
RE: Moveable Ladder

(08-07-2015 06:21 PM)Lazzer Wrote:  Firstly, tick "static physics" in the ladder properties in level editor, then use SetMoveObjectState function, and SetPropStaticPhysics to false. I think that should work.

Nothing of this really works. BUT it seems like in game they didn't use this entity. They used "ladder_mount" & "ladder_static". I'm going to try it again with this. Thank you very much!
08-07-2015 07:46 PM
Find all posts by this user Quote this message in a reply
Mudbill Offline
Posting Freak

Posts: 3,527
Joined: Apr 2013
Reputation: 166
Post: #4
RE: Moveable Ladder

You can use SetMoveObjectState without un-static-ing the object. That is, if the object is a MoveObject at all. It's also possible to use AddPropForce but I'd recommend the first.

08-07-2015 09:04 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)