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 with doors
Nye Offline
Senior Member

Posts: 250
Threads: 8
Joined: Jan 2011
Reputation: 2
#2
RE: Script with doors

There is currently no door entity that you can pull around off hinges, so you will need to create a custom entity, and when the player interacts with the door (interact callback), run a function that will setentityactive("original_door", false); and setentityactive("new_entity_broken_door", true);

I hope this helped.

(This post was last modified: 06-21-2011, 12:26 AM by Nye.)
06-21-2011, 12:26 AM
Find


Messages In This Thread
Script with doors - by SLAMnesia - 06-20-2011, 10:56 PM
RE: Script with doors - by Nye - 06-21-2011, 12:26 AM
RE: Script with doors - by Kurton - 06-21-2011, 02:27 AM
RE: Script with doors - by SLAMnesia - 06-21-2011, 03:25 AM
RE: Script with doors - by rojkish - 06-21-2011, 07:02 PM
RE: Script with doors - by palistov - 06-21-2011, 07:14 PM
RE: Script with doors - by Rownbear - 06-23-2011, 03:00 AM
RE: Script with doors - by Roenlond - 06-23-2011, 02:36 PM
RE: Script with doors - by Rownbear - 06-23-2011, 08:44 PM
RE: Script with doors - by Apjjm - 06-23-2011, 08:50 PM



Users browsing this thread: 1 Guest(s)