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
Door Force Won't Open Door!
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#1
Door Force Won't Open Door!

Okay... So everyone makes maps with a door that swings open on it's own.
and I need that in my map... But for some reason that I can CEASE to
understand is that the door DOES NOT OPEN on its own. It pushes out for a
moment but shoots RIGHT BACK to the closed position, no matter how high
I put the coordinate values. I used the wiki, other scripts, and it's
failing to do as it is told. Coulc someone for the life of me, tell me
what the fack I am doing wrong? My script:

//____________________________________
void OnStart()
{
AddEntityCollideCallback("Player", "OpenDoor", "pushdoor", true, 1);
}
void pushdoor(string &in asParent, string &in asChild, int alState)
{
SetSwingDoorClosed("Dog_door", false, true);
SetSwingDoorDisableAutoClose("Dog_door", true);
AddPropForce("Dog_door", 0, 0, 15000, "world");
}
//____________________________________
(This post was last modified: 11-02-2011, 12:28 AM by Statyk.)
11-02-2011, 12:28 AM
Find


Messages In This Thread
Door Force Won't Open Door! - by Statyk - 11-02-2011, 12:28 AM
RE: Door Force Won't Open Door! - by Statyk - 11-02-2011, 12:55 AM
RE: Door Force Won't Open Door! - by flamez3 - 11-02-2011, 02:42 AM
RE: Door Force Won't Open Door! - by Statyk - 11-02-2011, 02:44 AM
RE: Door Force Won't Open Door! - by Statyk - 11-02-2011, 03:51 AM
RE: Door Force Won't Open Door! - by GreyFox - 11-02-2011, 04:04 AM
RE: Door Force Won't Open Door! - by palistov - 11-02-2011, 04:21 AM



Users browsing this thread: 1 Guest(s)