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
how do i make a door open?
Author Message
Dizturbed Offline
Member

Posts: 160
Joined: Jun 2011
Reputation: 0
Post: #1
how do i make a door open?
could someone please help me make a door open by itself, without me needing to touch it. :L

07-11-2011 04:42 PM
Find all posts by this user Quote this message in a reply
Khyrpa Offline
Senior Member

Posts: 615
Joined: Apr 2011
Reputation: 24
Post: #2
RE: how do i make a door open?
SetSwingDoorClosed(string& asName, bool abClosed, bool abEffects);
SetSwingDoorDisableAutoClose(string& asName, bool abDisableAutoClose);
AddPropForce(string& asName, float afX, float afY, float afZ, string& asCoordSystem);

you might have to use all 3
07-11-2011 05:58 PM
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 do i make a door open?
i dunno know how to addprofforce tho, could you help me with that?

07-11-2011 09:12 PM
Find all posts by this user Quote this message in a reply
xtron Offline
Senior Member

Posts: 402
Joined: May 2011
Reputation: 2
Post: #4
RE: how do i make a door open?
just make a script like an CollideCallBack and when you enter that script this happens:

SetSwingDoorClosed("DOOR NAME", false, true);

No need to add an PropForce XD.

[Image: 44917299.jpg]Dubstep <3
(This post was last modified: 07-12-2011 10:56 AM by xtron.)
07-12-2011 10:56 AM
Find all posts by this user Quote this message in a reply
jessehmusic Offline
Senior Member

Posts: 423
Joined: Dec 2011
Reputation: 8
Post: #5
RE: how do i make a door open?
I have same problem i want a door to be open without touch but i dont understand that script at all anyone that can help me out with it

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
12-26-2011 11:00 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 




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