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
[SOLVED] Destroying Doors
Linus Ågren Offline
Senior Member

Posts: 309
Threads: 58
Joined: Jan 2011
Reputation: 5
#1
[SOLVED] Destroying Doors

[SOLVED]

Question:
Well, is it possible to make the door get destroyed by scripting it? Like when the monsters slam it to pieces, but in a script instead?

Creator of The Dark Treasure.
(This post was last modified: 01-25-2011, 03:14 PM by Linus Ågren.)
01-25-2011, 07:53 AM
Website Find
Tottel Offline
Senior Member

Posts: 307
Threads: 9
Joined: Nov 2010
Reputation: 0
#2
RE: [Scripting Question] Destroying Doors

Sure, just set the hitpoints to 0 using SetPropHealth();
01-25-2011, 10:10 AM
Find
Linus Ågren Offline
Senior Member

Posts: 309
Threads: 58
Joined: Jan 2011
Reputation: 5
#3
RE: [Scripting Question] Destroying Doors

Thanks alot! Just what I wanted!

Creator of The Dark Treasure.
01-25-2011, 03:11 PM
Website Find




Users browsing this thread: 2 Guest(s)