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
SetSwingDoorDisableAutoClose does not work
darksky Offline
Member

Posts: 52
Threads: 8
Joined: Nov 2012
Reputation: 2
#8
RE: SetSwingDoorDisableAutoClose does not work

ok, i think i forgot to mention that the door is initially locked.

i tried the open amount, but it seems to me that the open amount is applied after map load, not after the door is unlocked. so it did not work.

then i tried it with using doorClosed = false
void abc(string &in asParent,string &in asChild, int alState){    
    SetSwingDoorDisableAutoClose("door", false);    //1
    SetSwingDoorLocked("door", false, false);//2
    SetSwingDoorClosed("door", false, false);//3    
    AddTimer("",2,"asd");
}

void asd(string &in asTimer){
    AddPropForce("door", 1000, 0, 0, "world");
    AddDebugMessage("force",false);
}

but this did not work either, no matter the order of the 3 calls.
is still something wrong?

if not, and it's not working for an unknown reason, i think i will just set an other door active, not locked, open amount 0.15 , and apply force on that door >_>
(This post was last modified: 03-03-2013, 01:49 PM by darksky.)
03-03-2013, 01:49 PM
Find


Messages In This Thread
RE: SetSwingDoorDisableAutoClose does not work - by darksky - 03-03-2013, 01:49 PM



Users browsing this thread: 1 Guest(s)