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
If get swing door opened?
Ermu Offline
Member

Posts: 86
Threads: 13
Joined: Jan 2012
Reputation: 2
#2
RE: If get swing door opened?

void checkdooropened(string &in asParent, string &in asChild, int alState)
{
if(GetSwingDoorClosed("yourdoorname") == false)
{
insert your script here
}
}

Try this type of a thing

E: I believe it's this way
(GetSwingDoorClosed("door1")== false)
checks if the door is open, if it's closed, it will do nothing

Remember to change the "string" to fitting your way of triggering it.
(This post was last modified: 06-09-2012, 04:57 PM by Ermu.)
06-09-2012, 04:52 PM
Find


Messages In This Thread
If get swing door opened? - by Shives - 06-09-2012, 04:47 PM
RE: If get swing door opened? - by Ermu - 06-09-2012, 04:52 PM



Users browsing this thread: 1 Guest(s)