Linus Ågren
Senior Member
Posts: 309
Threads: 58
Joined: Jan 2011
Reputation:
5
|
[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 |
|
Tottel
Senior Member
Posts: 307
Threads: 9
Joined: Nov 2010
Reputation:
0
|
RE: [Scripting Question] Destroying Doors
Sure, just set the hitpoints to 0 using SetPropHealth();
|
|
01-25-2011, 10:10 AM |
|
Linus Ågren
Senior Member
Posts: 309
Threads: 58
Joined: Jan 2011
Reputation:
5
|
RE: [Scripting Question] Destroying Doors
Thanks alot! Just what I wanted!
Creator of The Dark Treasure.
|
|
01-25-2011, 03:11 PM |
|