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
Fatal Error
Athom Offline
Junior Member

Posts: 32
Threads: 6
Joined: Jul 2012
Reputation: 1
#1
Fatal Error

Hey everybody. Not to be a bother, but Im having a fatal error that says its on line 99. Im guessing its a syntax error. Sad Here is the block that contains line 99 (as it is sometimes a little bit off) The full area part of the code is as follows
main(99, 1) : ERR : No matching signatures to 'GiveSanityBoost(const float, const bool)'


void LeverPulled(string &in asEntity, int alState)
{
if(GetLocalVarInt("Sequence") == 0 && asEntity == "lever_2")
{
AddLocalVarInt("Sequence", 1);
SetLeverStuckState(asEntity, alState, true);
PlaySoundAtEntity("", "27_tunnel.snt", "Player", 0, false);
}
if(GetLocalVarInt("Sequence") == 1 && asEntity == "lever_1")
{
AddLocalVarInt("Sequence", 1);
SetLeverStuckState(asEntity, alState, true);
PlaySoundAtEntity("", "27_tunnel.snt", "Player", 0, false);
}
if(GetLocalVarInt("Sequence") == 2 && asEntity == "lever_3")
{
AddLocalVarInt("Sequence", 1);
SetLeverStuckState(asEntity, alState, true);
SetMoveObjectState("shelf_secret_door_1", 1);
PlaySoundAtEntity("", "scrape_wood_heavy.snt", "Player", 0, false);
PlaySoundAtEntity("", "27_tunnel.snt", "Player", 0, false);
GiveSanityBoost(25.0f, true); {THIS IS LINE 99!}
PlaySoundAtEntity("", "enabled01.snt", "Player", 0, false);
AddTimer("StaggerMonsterNoise", 1, "StaggerMonsterNoise");
}
}

Current Projects: The Cure 15%
4Shared Download: http://ow.ly/cqjk4
Youtube Video: http://ow.ly/cq2LR
(This post was last modified: 07-18-2012, 06:41 AM by Athom.)
07-18-2012, 06:29 AM
Find


Messages In This Thread
Fatal Error - by Athom - 07-18-2012, 06:29 AM
RE: Fatal Error - by Kazakarumariou - 07-18-2012, 01:48 PM



Users browsing this thread: 2 Guest(s)