02-28-2011, 06:50 PM
Hello
I have a problem
My Script:
void OnStart()
{
AddEntityCollideCallback("Player", "AreaScare", "CollindeAreaScare", true, 1);
}
void CollindeAreaScare(string &in asParent, string &in asChild, int alState)
{
StartPlayerLookAt("Look1", 4, 100, "");
AddPropImpulse("Armor1", 0, 0, -3, "");
GiveSanityDamage(20, true);
StartPlayerLookAt("Look2", 4, 100, "");
AddPropImpulse("Armor2", 0, 0, -3, "");
GiveSanityDamage(20, true);
}
no working
please help me
I have a problem
My Script:
void OnStart()
{
AddEntityCollideCallback("Player", "AreaScare", "CollindeAreaScare", true, 1);
}
void CollindeAreaScare(string &in asParent, string &in asChild, int alState)
{
StartPlayerLookAt("Look1", 4, 100, "");
AddPropImpulse("Armor1", 0, 0, -3, "");
GiveSanityDamage(20, true);
StartPlayerLookAt("Look2", 4, 100, "");
AddPropImpulse("Armor2", 0, 0, -3, "");
GiveSanityDamage(20, true);
}
no working
please help me