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 Make a Swing Door which has already been auto-closed swing open?
Kreekakon Offline
Pick a god and pray!

Posts: 3,063
Threads: 70
Joined: Mar 2012
Reputation: 124
#1
Make a Swing Door which has already been auto-closed swing open?

Hey there all. I've got a small problem. I'm trying to do an event where a door slowly swings open. However, the player will likely interact with this door beforehand which might result it being "auto-closed". The script I have so far:

SetSwingDoorDisableAutoClose("crowbardoor", true);
AddPropForce("crowbardoor",-800,0,0,"world");

This only seems to work if the player has not interacted with the door in a way that would let it become auto-closed, which given the nature of the level, the player is likely to do.

Any idea on how to fix this? If anyone needs more info, I'd be happy to give it.
06-28-2012, 06:25 PM
Find


Messages In This Thread
Make a Swing Door which has already been auto-closed swing open? - by Kreekakon - 06-28-2012, 06:25 PM



Users browsing this thread: 1 Guest(s)