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 help :/ *UPDATED*
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#1
FATAL ERROR help :/ *UPDATED*

void OnStart()
{
AddEntityCollideCallback("Player" , "ScriptArea_1" , "MonsterFunc1" , true , 1);
}
void MonsterFunc1(string &in asParent , string &in asChild , int alState)
{
SetEntityActive("servant_brute_1" , true);
PlaySoundAtEntity("", "explosion_rock_large.snt", "Player", 0.5f, false);

{
AddEntityCollideCallback("Player" , "ScriptArea_2" , "MonsterFunc1" , true , 1);
}

void MonsterFunc1(string &in asParent , string &in asChild , int alState)
{
SetEntityActive("barrel01_20" , true);
SetEntityActive("barrel01_21" , true);
SetEntityActive("barrel01_22" , true);
SetEntityActive("barrel01_28" , true);
SetEntityActive("barrel01_29" , true);
SetEntityActive("barrel01_23" , true);
SetEntityActive("barrel01_24" , true);
SetEntityActive("barrel01_25" , true);
SetEntityActive("barrel01_27" , true);
SetEntityActive("barrel01_26" , true);
SetEntityActive("barrel01_10" , true);
PlaySoundAtEntity("", "explosion_rock_large.snt", "Player", 0.5f, false);
}

}


highlighted in bold is the one that is having the problems, it says there's an expected ( between the
void and the MonsterFunc1

Any help on this?
(This post was last modified: 10-13-2011, 10:20 AM by flamez3.)
10-13-2011, 08:22 AM
Find


Messages In This Thread
FATAL ERROR help :/ *UPDATED* - by flamez3 - 10-13-2011, 08:22 AM
RE: FATAL ERROR help :/ - by Luis - 10-13-2011, 08:27 AM
RE: FATAL ERROR help :/ - by flamez3 - 10-13-2011, 08:32 AM
RE: FATAL ERROR help :/ *UPDATED* - by Luis - 10-13-2011, 11:58 AM
RE: FATAL ERROR help :/ *UPDATED* - by flamez3 - 10-13-2011, 12:16 PM
RE: FATAL ERROR help :/ *UPDATED* - by Luis - 10-13-2011, 12:33 PM



Users browsing this thread: 2 Guest(s)