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 [SOLVED]Script error.Help.
SSEAlexander Offline
Senior Member

Posts: 422
Threads: 26
Joined: Feb 2014
Reputation: 1
#1
Bug  [SOLVED]Script error.Help.

i got error
"main (44,2) : ERR : Unexpected end of file"
i dont even know that that means...

void OnStart()
{
PlayMusic("music.ogg", true, 1, 5, 0, true);
SetSanityDrainDisabled(true);
AddEntityCollideCallback("Player","AMB1","amb1",true,1) ;
AddEntityCollideCallback("Player","b3","nope",true,1) ;
AddEntityCollideCallback("Player","AMB1_1","horrors",true,1) ;
RemoveItem("syr_2");
GiveItemFromFile("syr_3", "radioe.ent");
AddEntityCollideCallback("Player","getmatch","matchready",true,1) ;
}


void amb1(string &in asParent, string &in asChild, int alState)
{
PlayGuiSound("087bamb1.ogg", 1.4f);
}


void nope(string &in asParent, string &in asChild, int alState)
{
PlayGuiSound("no87b.ogg", 1.4f);
SetLightVisible("PointLight_1", false);
}


void horrors(string &in asParent, string &in asChild, int alState)
{
PlayGuiSound("horror17bscp.ogg", 1.4f);
}


void matchready(string &in asParent, string &in asChild, int alState) {
{
SetMessage("Journal", "matchisready", 6.0f);
SetEntityActive("matchuse",true) ;
}


void usethematch(string &in entity) {
{
SetLightVisible("matchl", true);
PlayGuiSound("match087b.ogg", 1.4f);
}
(This post was last modified: 04-26-2014, 11:44 AM by SSEAlexander.)
04-26-2014, 11:37 AM
Find


Messages In This Thread
[SOLVED]Script error.Help. - by SSEAlexander - 04-26-2014, 11:37 AM
RE: Script error.Help. - by PutraenusAlivius - 04-26-2014, 11:40 AM
RE: Script error.Help. - by Romulator - 04-26-2014, 11:43 AM
RE: Script error.Help. - by SSEAlexander - 04-26-2014, 11:44 AM



Users browsing this thread: 1 Guest(s)