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
Crowbar won't work on door! help
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#4
RE: Crowbar won't work on door! help

No no, put them into an OnStart().

Like this:
PHP Code: (Select All)
void OnStart()
{
AddUseItemCallback("""Crowbar""Door""UseCrowbarOnDoor"true);
AddEntityCollideCallback("Joint""AreaBreak""BreakDoor"true1);


Put that anywhere in your code, and delete those two lines from the timer.

Look at this topic, and actually read it. Although it is tough stuff, you need to understand what you are scripting. http://wiki.frictionalgames.com/hpl2/tut...iferorange

Discord: Romulator#0001
[Image: 3f6f01a904.png]
(This post was last modified: 12-23-2013, 02:05 PM by Romulator.)
12-23-2013, 02:05 PM
Find


Messages In This Thread
RE: Crowbar won't work on door! help - by Romulator - 12-23-2013, 02:05 PM
RE: Crowbar won't work on door! help - by Froge - 12-23-2013, 06:34 PM
RE: Crowbar won't work on door! help - by daortir - 12-25-2013, 04:02 PM
RE: Crowbar won't work on door! help - by daortir - 12-25-2013, 07:12 PM
RE: Crowbar won't work on door! help - by daortir - 12-25-2013, 10:22 PM



Users browsing this thread: 1 Guest(s)