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
Breaking Door with Entity (Chair)
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#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
Find


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



Users browsing this thread: 1 Guest(s)