Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 5 Votes - 3.8 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scripting, need urgent help!
Author Message
JetlinerX Offline
Senior Member

Posts: 601
Joined: Jun 2011
Reputation: 19
Post: #121
RE: Scripting, need urgent help!
Anyone know what script makes a door crumble? I cant find it on Script Functions.

Lead Developer of "The Attic"
~Slade Mitchell

Chapter 3 (REL)

08-17-2011 05:31 PM
Visit this user's website Find all posts by this user Quote this message in a reply
darkside Offline
Junior Member

Posts: 20
Joined: Aug 2011
Reputation: 0
Post: #122
RE: Scripting, need urgent help!
ummmm ... by crumble, you mean it gets destroyed?

Snowy background, anyone?
Now, where was that grunt with the santa hat ....
08-20-2011 11:28 AM
Find all posts by this user Quote this message in a reply
Kyle Offline
Posting Freak

Posts: 910
Joined: Sep 2010
Reputation: 7
Post: #123
RE: Scripting, need urgent help!
AddPropHealth("DoorName", -50);

DoorName = The door you want to get destroyed.

-50 = The amount of damage out of 100 the door will have inflicted on it.


When the door has lost 100 health, then the door will be completely broken.

08-20-2011 12:59 PM
Find all posts by this user Quote this message in a reply
JetlinerX Offline
Senior Member

Posts: 601
Joined: Jun 2011
Reputation: 19
Post: #124
RE: Scripting, need urgent help!
Thanks much Kyle, does it come with a breaking sound, or should I PlaySoundAtEntity? Big Grin

Lead Developer of "The Attic"
~Slade Mitchell

Chapter 3 (REL)

(This post was last modified: 08-20-2011 03:19 PM by JetlinerX.)
08-20-2011 03:19 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)