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

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

Posts: 638
Threads: 10
Joined: Apr 2011
Reputation: 24
#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
Dizturbed Offline
Member

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

Posts: 402
Threads: 37
Joined: May 2011
Reputation: 2
#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
jessehmusic Offline
Senior Member

Posts: 423
Threads: 102
Joined: Dec 2011
Reputation: 8
#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
Website Find




Users browsing this thread: 1 Guest(s)