The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
[SOLVED] Opening/Closing Cabinets in the Script?
Strembitsky Offline
Senior Member

Posts: 254
Threads: 37
Joined: Feb 2012
Reputation: 3
#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


Messages In This Thread
[SOLVED] Opening/Closing Cabinets in the Script? - by Strembitsky - 02-07-2012, 01:08 AM



Users browsing this thread: 1 Guest(s)