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


Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to make door open??
Author Message
Dizturbed Offline
Member

Posts: 160
Joined: Jun 2011
Reputation: 0
Post: #1
How to make door open??

how do i make a door open, without the player needing to touch it? Big Grin
Examples pleaaaz? Smile

07-03-2011 12:06 AM
Find all posts by this user Quote this message in a reply
rojkish Offline
Junior Member

Posts: 45
Joined: Jun 2011
Reputation: 0
Post: #2
RE: How to make door open??

SetSwingDoorClosed(string& asName, bool abClosed, bool abEffects);
07-03-2011 12:12 AM
Find all posts by this user Quote this message in a reply
Dizturbed Offline
Member

Posts: 160
Joined: Jun 2011
Reputation: 0
Post: #3
RE: How to make door open??

alriiight, ill test it Smile but i thought it was

int GetSwingDoorState(string& asName);Returns an integer depending on how far the door is opened.
-1 = angle is close to 0°, 1 = angle is 70% or higher of max, 0 = inbetween -1 and 1. Tongue

07-03-2011 12:14 AM
Find all posts by this user Quote this message in a reply
Roenlond Offline
Senior Member

Posts: 331
Joined: Apr 2011
Reputation: 0
Post: #4
RE: How to make door open??

Nope. That checks whether or not a door is opened or closed and you can use it to run functions only if the door is closed, for example.
07-03-2011 12:16 AM
Find all posts by this user Quote this message in a reply
Post Reply 




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