Frictional Games Forum (read-only)

Full Version: [Solved] Yay, another script problem.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Code:
void ScreenShake(string &in asChild, string &in asParent, int alState)
{
    StartScreenShake(5, 5, 2, 3);
    PlaySoundAtEntity("03_break_wall.ogg", "03_break_wall.snt", "level_celler_1", "1", false);
}

That's my code. I get an error:
Code:
No matching signatures to PlaySoundAtEntity(string@&, string@&, string@&, string@&, const bool)

every time I enter the level the script is in.
Strings are not integers.
(02-12-2012, 12:17 AM)Your Computer Wrote: [ -> ]Strings are not integers.
*facepalm* Thanks again, computer.