The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Need help fast please!
Zaapeer Offline
Junior Member

Posts: 32
Threads: 9
Joined: Dec 2011
Reputation: 0
#1
Need help fast please!

So I've been working on a new custom story lately, and in one part you're supposed to walk over a beam. I placed an area in the middle of the beam that is supposed to trigger a function where the beam breaks and you fall into a hole. Now there are two problems when I'm playing the custom story:

1. When I have my crosshair on the beem where the area is placed it changes to a door, as if you were looking at a level door (the area type is script).

2. The beam doesn't break.. Sad Here's the script for the beam part:

void OnStart()
{
AddEntityCollideCallback("Player", "BeamBreakArea", "BeamBreak", true, 1);
}


void BeamBreak(string &in asParent, string &in asChild, int alState)
{
SetPropHealth("wood_beam_1", 0);
SetEntityActive("block_box_3", true);
}


Please help me! Sad
10-19-2012, 06:45 PM
Find


Messages In This Thread
Need help fast please! - by Zaapeer - 10-19-2012, 06:45 PM
RE: Need help fast please! - by SilentStriker - 10-19-2012, 07:03 PM
RE: Need help fast please! - by Zaapeer - 10-19-2012, 07:29 PM
RE: Need help fast please! - by Robby - 10-19-2012, 07:30 PM
RE: Need help fast please! - by Zaapeer - 10-19-2012, 07:38 PM
RE: Need help fast please! - by Robby - 10-19-2012, 07:39 PM
RE: Need help fast please! - by Zaapeer - 10-19-2012, 07:47 PM
RE: Need help fast please! - by The chaser - 10-19-2012, 08:10 PM
RE: Need help fast please! - by Zaapeer - 10-20-2012, 10:44 PM
RE: Need help fast please! - by The chaser - 10-20-2012, 11:30 PM
RE: Need help fast please! - by FlawlessHappiness - 10-20-2012, 10:47 PM
RE: Need help fast please! - by Zaapeer - 10-21-2012, 02:21 PM
RE: Need help fast please! - by FlawlessHappiness - 10-21-2012, 02:59 PM



Users browsing this thread: 2 Guest(s)