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
Scripting problem please help
ModestWalrus Offline
Junior Member

Posts: 26
Threads: 3
Joined: Jan 2012
Reputation: 0
#1
Scripting problem please help

I made this script and it has an error saying
main (22,1) : ERR : Unexpected end of file
-------------------
Heres my script
----------------


void OnEnter ()
/////////////////////////////////////////////////////////
{
AddEntityCollideCallback("Player", "hallway1", "statuemanspawns", true, 1);

void statuemanspawns(string &in asParent, string &in asChild, int alState);
{
SetEntityActive("statueman1", true);
PlaySoundAtEntity("", "react_breath4.ogg", "Player", 0.5, false);
StartPlayerLookAt("statueman1", 15, 15, "");
}
AddTimer("", 1.0f, "Stoplooking");
void Stoplooking(string &in asTimer);
{
StopPlayerLookAt();
}
////////////////////////////////////
void OnLeave()
{

}

[Image: modestwalrus.gif]
02-12-2012, 06:52 PM
Website Find


Messages In This Thread
Scripting problem please help - by ModestWalrus - 02-12-2012, 06:52 PM
RE: Scripting problem please help - by Tanshaydar - 02-13-2012, 04:03 AM
RE: Scripting problem please help - by flamez3 - 02-13-2012, 04:41 AM



Users browsing this thread: 1 Guest(s)