Frictional Games Forum (read-only)

Full Version: Script Problems :(( help!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Im getting a error everytime I try to test my scripts out..
The pic of the error is down at the attachments.
Please help!

EDIT:

forgot to add the code Tongue
PHP Code:
void OnStart()
{
AddEntityCollideCallback("Player""girlscreams"girlscream_1true1);
}
void girlscream_1(string &in asParentstring &in asChildint alState)
{
StartPlayerLookAt("lookat"10.0f10.0f"");
PlaySoundAtEntity("scream""21_intro_scream""Player"1false);


-Dizturbed
AddEntityCollideCallback("Player", "girlscreams", girlscream_1, true, 1);

should be

AddEntityCollideCallback("Player", "girlscreams", "girlscream_1", true, 1);
Woooow, thanks! im dumb -.-