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 Need help with Crowbar on door
jessehmusic Offline
Senior Member

Posts: 423
Threads: 102
Joined: Dec 2011
Reputation: 8
#5
RE: Need help with Crowbar on door

So
PHP Code: (Select All)
void OnStart()
 {
 
AddUseItemCallback("this is area ", "the item", "The door", "No ide" , true);
 
AddEntityCollideCallback("name of what", "script name", "the func", true, 1);
 }


 
void crowbar(string &in asItem, string &in asEntity)
 {
 
SetEntityActive("crowbar_joint_1", true);
 }


 
void crowbarfunc(string &in asParent, string &in asChild, int alState)
 {
 
SetPropHealth("cellar_wood01_4", 0.0f);
 
SetEntityActive("crowbar_joint_1", false);
 
SetEntityActive("crowbar_dyn_1", true);
 } 
or do i have wrong please help am new :S
Still got same prob

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
(This post was last modified: 12-30-2011, 07:45 PM by jessehmusic.)
12-30-2011, 07:26 PM
Website Find


Messages In This Thread
Need help with Crowbar on door - by jessehmusic - 12-30-2011, 04:10 AM
RE: Need help with Crowbar on door - by flamez3 - 12-30-2011, 05:58 AM
RE: Need help with Crowbar on door - by flamez3 - 12-30-2011, 04:04 PM
RE: Need help with Crowbar on door - by jessehmusic - 12-30-2011, 07:26 PM
RE: Need help with Crowbar on door - by flamez3 - 12-31-2011, 02:06 AM



Users browsing this thread: 1 Guest(s)