08-07-2012, 08:39 PM
It says I did something wrong at void ArmScare(string &in asEntity, int 1)
I can't figure out what's wrong, can anyone fix this?
////////////////////////////
// Run first time starting map
void OnStart()
{
PreloadSound("whatthehell.snt");
AddEntityCollideCallback("Player", "StairArea", "Sound", true, 1);
SetEntityPlayerLookAtCallback(string& MonsterArm, string& ArmScare, bool false);
}
void ArmScare(string &in asEntity, int 1)
{
PlaySoundAtEntity("", "react_scare", "Player", 0, false);
GiveSanityDamage(8.0f, true);
}
void Sound(string &in asParent, string &in asChild, int alState)
{
PlaySoundAtEntity("sound", "whatthehell.snt", "StairArea", 0.0, false);
}
I can't figure out what's wrong, can anyone fix this?
////////////////////////////
// Run first time starting map
void OnStart()
{
PreloadSound("whatthehell.snt");
AddEntityCollideCallback("Player", "StairArea", "Sound", true, 1);
SetEntityPlayerLookAtCallback(string& MonsterArm, string& ArmScare, bool false);
}
void ArmScare(string &in asEntity, int 1)
{
PlaySoundAtEntity("", "react_scare", "Player", 0, false);
GiveSanityDamage(8.0f, true);
}
void Sound(string &in asParent, string &in asChild, int alState)
{
PlaySoundAtEntity("sound", "whatthehell.snt", "StairArea", 0.0, false);
}