Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
If get swing door opened?
Author Message
Ermu Offline
Member

Posts: 89
Joined: Jan 2012
Reputation: 2
Post: #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.

Plague Forest - Unreleased, currently on hold.
(This post was last modified: 06-09-2012 04:57 PM by Ermu.)
06-09-2012 04:52 PM
Find all posts by this user Quote this message in a reply
Post Reply 


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



User(s) browsing this thread: 1 Guest(s)