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
How to make door open??
Dizturbed Offline
Member

Posts: 160
Threads: 39
Joined: Jun 2011
Reputation: 0
#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
rojkish Offline
Junior Member

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

SetSwingDoorClosed(string& asName, bool abClosed, bool abEffects);
07-03-2011, 12:12 AM
Find
Dizturbed Offline
Member

Posts: 160
Threads: 39
Joined: Jun 2011
Reputation: 0
#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
Roenlond Offline
Senior Member

Posts: 331
Threads: 3
Joined: Apr 2011
Reputation: 0
#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




Users browsing this thread: 1 Guest(s)