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
#3
RE: Unexpected end of file... I need help! :)

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()
{

}

^
Thats the right file ;D |
I need help Sad
i forgot to copy the clamp ;D
(This post was last modified: 03-15-2011, 05:54 PM by Janni1234.)
03-15-2011, 05:52 PM
Find


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



Users browsing this thread: 1 Guest(s)