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
Script Help How to make a door open ajar?
Adrianis Offline
Senior Member

Posts: 620
Threads: 6
Joined: Feb 2012
Reputation: 27
#7
RE: How to make a door open ajar?

(02-13-2013, 11:50 AM)BeeKayK Wrote:
(02-13-2013, 11:19 AM)Adrianis Wrote: You'll need to use SetSwingDoorDisableAutoClose and SetSwingDoorClosed in addition to AddPropForce.

Instead of doing this, you can just set the open amount to 0.1 or maybe even smaller.

.... uhh yeh, do that! Although if the value is too small it may just auto-close again.

Alternatively,
PHP Code: (Select All)
void MakeDoorAJar()
{
     
SetEntityActive("door"false);
     
CreateEntityAtArea("A_Jar""Jar.ent""doorarea"true);


02-13-2013, 12:03 PM
Find


Messages In This Thread
How to make a door open ajar? - by serbusfish - 02-13-2013, 03:42 AM
RE: How to make a door open ajar? - by MulleDK19 - 02-13-2013, 03:43 AM
RE: How to make a door open ajar? - by Adrianis - 02-13-2013, 11:19 AM
RE: How to make a door open ajar? - by Kreekakon - 02-13-2013, 11:56 AM
RE: How to make a door open ajar? - by Adrianis - 02-13-2013, 12:03 PM
RE: How to make a door open ajar? - by Kreekakon - 02-13-2013, 11:27 AM
RE: How to make a door open ajar? - by NaxEla - 02-13-2013, 05:02 PM
RE: How to make a door open ajar? - by serbusfish - 02-13-2013, 08:46 PM
RE: How to make a door open ajar? - by serbusfish - 02-14-2013, 01:01 AM
RE: How to make a door open ajar? - by NaxEla - 02-14-2013, 01:36 AM



Users browsing this thread: 1 Guest(s)