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
Errors on my errors?!
JetlinerX Offline
Senior Member

Posts: 599
Threads: 49
Joined: Jun 2011
Reputation: 19
#1
Errors on my errors?!

Anyone know what I did wrong? Heres the errors:
[Image: dwadwadawd.png]

And heres the script:

void OnStart()
{
        AddEntityCollideCallback("Player", "attic_sound_scare1", "OnStart", true, 1);
        SetEntityPlayerInteractCallback("note_attic_desk", "OnPickup", true);
        AddEntityCollideCallback("Player", "mainatticscare", "OnPickup", true, 1);
}
void OnStart(string &in asParent, string &in asChild, int alState)
{
        PlaySoundAtEntity("", "amb_idle_whimp.snt", "attic_sound_scare1", 0.0f, true);
        PlaySoundAtEntity("", "insanity_baby_cry.snt", "attic_sound_scare1", 0.0f, true);
        PlaySoundAtEntity("", "door_level_cistern_close.snt", "attic_sound_scare1", 0.0f, true);
        PlaySoundAtEntity("", "general_thunder.snt", "attic_sound_scare1", 0.0f, true);
        PlaySoundAtEntity("", "break_stairs.snt", "attic_sound_scare1", 0.0f, true);
}
void OnPickup(string &in parent, string &in child, int state)
{
     if (parent == "Player" && child == "note_attic_desk")
     SetEntityActive("mainatticscare");
     {
        CreateParticleSystemAtEntity("", "ps_dust_impact", "Partdoor1", false);    
        CreateParticleSystemAtEntity("", "ps_door_damage_wood", "Partdoor1", false);
        CreateParticleSystemAtEntity("", "ps_dust_impact", "Partdoor2", false);    
        CreateParticleSystemAtEntity("", "ps_door_damage_wood", "Partdoor2", false);
        CreateParticleSystemAtEntity("", "ps_dust_impact", "Partdoor3", false);    
        CreateParticleSystemAtEntity("", "ps_door_damage_wood", "Partdoor3", false);
        CreateParticleSystemAtEntity("", "ps_dust_impact", "Partdoor4", false);    
        CreateParticleSystemAtEntity("", "ps_door_damage_wood", "Partdoor4", false);
        PlaySoundAtEntity("", "lurker_hit_Wood", "Player", 0, false);
        GiveSanityDamage(20, true);
        AddPlayerBodyForce(-40000, 25000, 0, false);
        FadePlayerRollTo(75, 3, 2);
        StartPlayerLookAt("level_celler_1", 2, 2, "");
        SetPlayerCrouching(true);
        AddTimer("", 2, "Timer1");
        AddTimer("", 10, "Timer2");
        GivePlayerDamage(10, "BloodSplat", false, false);
        SetLanternDisabled(true);
        PlaySoundAtEntity("", "player_bodyfall", "Player", 0, false);
        FadeRadialBlurTo(1, 0.5);
     }
}
void Timer1(string &in asTimer)
{
    StartPlayerLookAt("level_celler_1", 0.4, 0.4, "");
    FadePlayerRollTo(-75, 3, 2);
    AddTimer("", 2, "Timer3");
    PlaySoundAtEntity("", "react_sigh", "Player", 0, false);

}
void Timer3(string &in asTimer)
{
    PlaySoundAtEntity("", "react_sigh", "Player", 0, false);
    StartPlayerLookAt("level_celler_1", 0.7, 0.7, "");
    FadePlayerRollTo(0, 0, 0);
    AddTimer("", 2, "Timer5");
    FadeRadialBlurTo(0, 1);
}
void Timer5(string &in asTimer)
{
    PlaySoundAtEntity("", "react_scare", "Player", 0, false);
}
void Timer2(string &in asTimer)
{
    SetPlayerCrouching(false);
    StopPlayerLookAt();
    SetLanternDisabled(false);
}
void OnLeave ()
{
}

Lead Developer of "The Attic"
~Slade Mitchell

Chapter 3 (REL)

08-17-2011, 09:22 PM
Website Find


Messages In This Thread
Errors on my errors?! - by JetlinerX - 08-17-2011, 09:22 PM
RE: Errors on my errors?! - by Your Computer - 08-17-2011, 09:43 PM
RE: Errors on my errors?! - by JetlinerX - 08-17-2011, 09:46 PM
RE: Errors on my errors?! - by Your Computer - 08-17-2011, 09:50 PM
RE: Errors on my errors?! - by JetlinerX - 08-17-2011, 09:58 PM
RE: Errors on my errors?! - by Your Computer - 08-17-2011, 10:00 PM
RE: Errors on my errors?! - by JetlinerX - 08-17-2011, 10:06 PM
RE: Errors on my errors?! - by Obliviator27 - 08-17-2011, 10:10 PM
RE: Errors on my errors?! - by JetlinerX - 08-17-2011, 10:11 PM
RE: Errors on my errors?! - by Obliviator27 - 08-17-2011, 10:21 PM
RE: Errors on my errors?! - by JetlinerX - 08-17-2011, 10:29 PM
RE: Errors on my errors?! - by Obliviator27 - 08-17-2011, 10:59 PM
RE: Errors on my errors?! - by JetlinerX - 08-17-2011, 11:13 PM
RE: Errors on my errors?! - by JenniferOrange - 08-17-2011, 11:41 PM
RE: Errors on my errors?! - by Obliviator27 - 08-17-2011, 11:43 PM
RE: Errors on my errors?! - by Acies - 08-17-2011, 11:44 PM
RE: Errors on my errors?! - by JenniferOrange - 08-17-2011, 11:48 PM
RE: Errors on my errors?! - by JetlinerX - 08-17-2011, 11:50 PM
RE: Errors on my errors?! - by DRedshot - 08-17-2011, 11:51 PM
RE: Errors on my errors?! - by Acies - 08-17-2011, 11:55 PM
RE: Errors on my errors?! - by JenniferOrange - 08-17-2011, 11:56 PM
RE: Errors on my errors?! - by JetlinerX - 08-17-2011, 11:57 PM
RE: Errors on my errors?! - by JenniferOrange - 08-17-2011, 11:59 PM
RE: Errors on my errors?! - by JetlinerX - 08-18-2011, 12:01 AM
RE: Errors on my errors?! - by JenniferOrange - 08-18-2011, 12:02 AM
RE: Errors on my errors?! - by JetlinerX - 08-18-2011, 12:17 AM
RE: Errors on my errors?! - by JetlinerX - 08-18-2011, 01:24 PM
RE: Errors on my errors?! - by DRedshot - 08-18-2011, 01:43 PM



Users browsing this thread: 4 Guest(s)