Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 5 Vote(s) - 3.8 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scripting, need urgent help!
JetlinerX Offline
Senior Member

Posts: 599
Threads: 49
Joined: Jun 2011
Reputation: 19
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
Website Find
darkside Offline
Junior Member

Posts: 20
Threads: 2
Joined: Aug 2011
Reputation: 0
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
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
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
JetlinerX Offline
Senior Member

Posts: 599
Threads: 49
Joined: Jun 2011
Reputation: 19
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
Website Find




Users browsing this thread: 2 Guest(s)