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
Script Help Any function for getting if a cabinet's closed?
Mooserider Offline
Member

Posts: 64
Threads: 11
Joined: Jan 2011
Reputation: 2
#1
Any function for getting if a cabinet's closed?

Hellooo everyone Smile In the level I'm working on I need to make it so that if the player gets inside a cabinet and closes the door a function is called. However, GetSwingDoorClosed won't work for it and neither will the method usually used for pulling levers. I couldn't find the answer anywhere else so it'd be awesome if someone knows here Tongue If all else fails I'll use a collide callback with the cabinet's doors but I'd rather do something a bit less messy. Undecided

Working on a FC: "Don't Let Go "
03-16-2012, 03:59 PM
Find


Messages In This Thread
Any function for getting if a cabinet's closed? - by Mooserider - 03-16-2012, 03:59 PM



Users browsing this thread: 1 Guest(s)