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
Can't get door to open in Custom story
Kreekakon Offline
Pick a god and pray!

Posts: 3,063
Threads: 70
Joined: Mar 2012
Reputation: 124
#8
RE: Can't get door to open in Custom story

Hmmm well there's a possibility that the door is still stuck, despite your code. To rule that out, put something like this in your script, and try to start with your door slightly open:


void OnStart()
{
AddTimer("doortime", 0.01f, "doorfunc");
}

void doorfunc(string &in asTimer)
{
SetSwingDoorDisableAutoClose("crowbardoor", true);
AddTimer("doortime", 0.01f, "doorfunc");
}

Replace "crowbardoor" with whatever your door name is. This script will ensure that all the time, the door will not auto lock itself.

[Image: Tv0YgQb.gif]
Image by BandyGrass
09-13-2012, 05:11 PM
Find


Messages In This Thread
RE: Can't get door to open in Custom story - by Kreekakon - 09-13-2012, 05:11 PM



Users browsing this thread: 1 Guest(s)