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
Unexpected end of file... I need help! :)
Janni1234 Offline
Member

Posts: 134
Threads: 24
Joined: Jan 2011
Reputation: 1
#1
Unexpected end of file... I need help! :)

Okay,
If i want to start my story, an error message pops up: unexpected end of file 27, 2.. Can somebody help me?
Scripting file:


void OnStart()
{
AddEntityCollideCallback("Player", "shock", "shock", 1, true);
}


void shock(string &in asParent , string &in asChild , int alState)
{
GiveSanityDamage(7.0f, true);
PlaySoundAtEntity("", "13_press_fail.snt", "Player", 0, false);
PlaySoundAtEntity("", "13_press_done.snt", "Player", 0, false);
PlaySoundAtEntity("", "react_scare.snt", "Player", 0, false);
PlaySoundAtEntity("Player", "13_steam.snt", "pipes_thick_bend_short_1", 0, false);
CreateParticleSystemAtEntity("", ps_steam.ps", "steam0", false);
StartPlayerLookAt("look", 4.0, 7.0f, "");
AddTimer("Timer", 0.7f, "looking");
}

void looking(string &in asTimer)
{
StopPlayerLookAt();
}

void OnLeave()
{
03-15-2011, 05:51 PM
Find


Messages In This Thread
Unexpected end of file... I need help! :) - by Janni1234 - 03-15-2011, 05:51 PM



Users browsing this thread: 1 Guest(s)