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
[Solved] Yay, another script problem.
Strembitsky Offline
Senior Member

Posts: 254
Threads: 37
Joined: Feb 2012
Reputation: 3
#1
[Solved] Yay, another script problem.

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:
No matching signatures to PlaySoundAtEntity(string@&, string@&, string@&, string@&, const bool)

every time I enter the level the script is in.

The Nightmares v1.0 - Dreadful Fires WIP
(This post was last modified: 02-12-2012, 01:17 AM by Strembitsky.)
02-12-2012, 12:05 AM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#2
RE: Yay, another script problem.

Strings are not integers.

Tutorials: From Noob to Pro
02-12-2012, 12:17 AM
Website Find
Strembitsky Offline
Senior Member

Posts: 254
Threads: 37
Joined: Feb 2012
Reputation: 3
#3
RE: Yay, another script problem.

(02-12-2012, 12:17 AM)Your Computer Wrote: Strings are not integers.
*facepalm* Thanks again, computer.

The Nightmares v1.0 - Dreadful Fires WIP
02-12-2012, 12:57 AM
Find




Users browsing this thread: 1 Guest(s)