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
Door open script
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#2
RE: Door open script

The two functions you need are:

SetSwingDoorDisableAutoClose(string& asName, bool abDisableAutoClose);


disables the auto close of a door

and

AddPropForce(string& asName, float afX, float afY, float afZ, string& asCoordSystem);


Adds force to a prop. (be sure to use "world" as the Coordinate System)

Hope that helped.

I rate it 3 memes.
08-06-2012, 10:03 AM
Find


Messages In This Thread
Door open script - by iFondue - 08-06-2012, 09:50 AM
RE: Door open script - by Adny - 08-06-2012, 10:03 AM
RE: Door open script - by The chaser - 08-06-2012, 04:49 PM



Users browsing this thread: 1 Guest(s)