The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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


Messages In This Thread
[Solved] Yay, another script problem. - by Strembitsky - 02-12-2012, 12:05 AM
RE: Yay, another script problem. - by Strembitsky - 02-12-2012, 12:57 AM



Users browsing this thread: 1 Guest(s)