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
Script Help Script Error
MaksoPL Offline
Member

Posts: 51
Threads: 26
Joined: Mar 2014
Reputation: 0
#1
Script Error

Error is:
main (8,1) : ERR :Expected ',' or ';'

That's my script:
void OnStart()
{
AddUseItemCallback("","ham1","board1","ActivateBrokenBoards",false);
AddEntityCollideCallback("Player","grunt_script1","Hallucination",true,1);
}

void ActivateBrokenBoards(string &in asItem, string &in asEntity)
void Hallucination(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("board1",false);
SetEntityActive("boardb1",true);
SetEntityActive("haluc1",true);
ShowEnemyPlayerPosition("haluc1");
RemoveItem("Ham1");
GiveSanityBoostSmall();
CreateParticleSystemAtEntity("","ps_cog_stone.ps","BoardParticles", false);
CreateParticleSystemAtEntity("","ps_break_mansionbase_wall.ps","BoardParticles",false);
PlaySoundAtEntity("","player_crouch","Player",0.0f,false);
PlaySoundAtEntity("","break_wood.snt","Player",0.0f,true);
}
05-24-2014, 01:11 PM
Find


Messages In This Thread
Script Error - by MaksoPL - 05-24-2014, 01:11 PM
RE: Script Error - by Romulator - 05-24-2014, 01:17 PM
RE: Script Error - by MaksoPL - 05-24-2014, 01:20 PM
RE: Script Error - by Romulator - 05-24-2014, 01:27 PM
RE: Script Error - by MaksoPL - 05-24-2014, 01:29 PM
RE: Script Error - by DnALANGE - 05-24-2014, 02:13 PM



Users browsing this thread: 1 Guest(s)