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 Help Give Prop Damage?
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#2
RE: Give Prop Damage?

void OnStart()
{
AddEntityCollideCallback("axe", "door", "hurtdoor", false, 1);
}

void hurtdoor(string &in asParent, string &in asChild, int alState)
{
SetPropHealth(-30.0f);
}

Note: I don't know if that works, just putting it out there.

01-21-2012, 05:40 PM
Find


Messages In This Thread
Give Prop Damage? - by Shadowfied - 01-21-2012, 05:33 PM
RE: Give Prop Damage? - by flamez3 - 01-21-2012, 05:40 PM
RE: Give Prop Damage? - by Shadowfied - 01-21-2012, 05:42 PM
RE: Give Prop Damage? - by Streetboat - 01-21-2012, 05:53 PM
RE: Give Prop Damage? - by Shadowfied - 01-21-2012, 06:04 PM
RE: Give Prop Damage? - by Your Computer - 01-21-2012, 06:17 PM
RE: Give Prop Damage? - by Your Computer - 01-21-2012, 05:59 PM
RE: Give Prop Damage? - by Streetboat - 01-21-2012, 07:11 PM
RE: Give Prop Damage? - by Shadowfied - 01-21-2012, 07:15 PM



Users browsing this thread: 2 Guest(s)