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 PropForce?
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#6
RE: Door PropForce?

AddEntityCollideCallback("Player", "Area_close", "Close", true, 1);



void Close (string &in asParent, string &in asChild, int alState)

{

SetSwingDoorClosed("Nameofdoor", true, bool abEffects); ///I don't know what is bool abEffects, but setting false (it's a bool) should work.

AddTimer("", 0.1, "Lock");

}



void Lock (string &in asTimer)

{

SetSwingDoorLocked("Nameofdoor", true, bool abEffects);

}

Ok, fixed it Wink

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
(This post was last modified: 11-26-2012, 05:48 PM by The chaser.)
11-26-2012, 05:47 PM
Find


Messages In This Thread
Door PropForce? - by giacomo9 - 11-22-2012, 03:07 PM
RE: Door PropForce? - by The chaser - 11-22-2012, 03:55 PM
RE: Door PropForce? - by Tomato Cat - 11-22-2012, 04:02 PM
RE: Door PropForce? - by giacomo9 - 11-26-2012, 04:33 PM
RE: Door PropForce? - by FlawlessHappiness - 11-26-2012, 05:47 PM
RE: Door PropForce? - by The chaser - 11-26-2012, 05:47 PM
RE: Door PropForce? - by giacomo9 - 11-26-2012, 06:05 PM
RE: Door PropForce? - by The chaser - 11-26-2012, 06:41 PM



Users browsing this thread: 1 Guest(s)