Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] Yay, another script problem.
Author Message
Strembitsky Offline
Member

Posts: 243
Joined: Feb 2012
Reputation: 3
Post: #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 all posts by this user Quote this message in a reply
Your Computer Offline
SCAN ME!

Posts: 3,234
Joined: Jul 2011
Reputation: 215
Post: #2
RE: Yay, another script problem.
Strings are not integers.

Tutorials: From Noob to Pro
02-12-2012 12:17 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Strembitsky Offline
Member

Posts: 243
Joined: Feb 2012
Reputation: 3
Post: #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 all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)