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

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Opening/Closing Cabinets in the Script?
Author Message
Strembitsky Offline
Member

Posts: 243
Joined: Feb 2012
Reputation: 3
Post: #1
[SOLVED] Opening/Closing Cabinets in the Script?
I am trying to open a cabinet in my level using a script area. Currently, I am using this:

SetSwingDoorClosed("cabinet_nice_1", true, true);

for opening, and this:
SetSwingDoorClosed("cabinet_nice_1", false, true);

for closing. They both don't work. Assistance?

EDIT: Nevermind, I'm an idiot.

EDIT2: Only closing works. How could I get it to open?
(This post was last modified: 02-07-2012 02:42 AM by Strembitsky.)
02-07-2012 01:08 AM
Find all posts by this user Quote this message in a reply
Your Computer Offline
SCAN ME!

Posts: 3,233
Joined: Jul 2011
Reputation: 215
Post: #2
RE: Opening/Closing Cabinets in the Script?
(02-07-2012 01:08 AM)Strembitsky Wrote:  EDIT2: Only closing works. How could I get it to open?

Should work the same as swing doors without a base: http://www.youtube.com/watch?v=VSZ_uWz-P...8&index=16

Tutorials: From Noob to Pro
02-07-2012 01:36 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 




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