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
Lowering bridge entity
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#3
RE: Lowering bridge entity

I may be incorrect, but I believe SetMoveObjectState makes the movement happen instantly. You would need SetMoveObjectStateExt to have it visibly raise or lower.

Also, make sure you test it thoroughly. I'm not sure which direction (up/down) is connected to which state (0/1) so you'll have to test it and find out. Read up on the wiki functions page to see what each parameter corresponds to, and simply test it out with different values until you come up with a satisfactory result. Also, you can check the cistern entrance script file from The Dark Descent and mimic their methods. Good luck.

(This post was last modified: 09-24-2011, 10:20 PM by palistov.)
09-24-2011, 10:20 PM
Find


Messages In This Thread
Lowering bridge entity - by Rownbear - 09-23-2011, 08:33 PM
RE: Lowering bridge entity - by Your Computer - 09-23-2011, 08:49 PM
RE: Lowering bridge entity - by palistov - 09-24-2011, 10:20 PM



Users browsing this thread: 3 Guest(s)