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

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved Breaking Door with Entity (Chair)
Author Message
Statyk Offline
Modmau5

Posts: 3,610
Joined: Sep 2011
Reputation: 198
Post: #3
RE: Breaking Door with Entity (Chair)
(05-05-2012 06:33 PM)jessehmusic Wrote:  try this


void OnStart()
{
AddEntityCollideCallback("chair", "area_name", "func", true, 1);
}

void func(string &in asParent, string &in asChild, int alState)
{
SetPropHealth("door_name", 0);
}
He already said he had it solved bro =P

(This post was last modified: 05-05-2012 06:37 PM by Statyk.)
05-05-2012 06:37 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Breaking Door with Entity (Chair) - Statyk - 05-05-2012 06:37 PM



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