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
Custom error? music won't work
Radical Batz Offline
Posting Freak

Posts: 953
Threads: 145
Joined: Dec 2013
Reputation: 25
#1
Sad  Custom error? music won't work

I'm trying to make a soundtrack in my custom story and whenever I load it, it gets me this error message "FATAL ERROR:Could not load script ile
'custom_stories/Name/maps/Name.hps'!
main(3,7):ERRBig Grinata type can't be 'void'
main (3,16):ERR:Only objects have constructors

and here is my hps file:



void OnStart()
{
void PlayMusic("06_amb.ogg", true, 0.3, 4, 1, false);
}

void OnEnter()
{

}

void OnLeave()
{

}

Do you see anything wrong because I don't
(This post was last modified: 12-28-2013, 07:38 PM by Radical Batz.)
12-28-2013, 05:26 PM
Find


Messages In This Thread
Custom error? music won't work - by Radical Batz - 12-28-2013, 05:26 PM
RE: Custom error? music won't work - by DnALANGE - 12-28-2013, 05:45 PM



Users browsing this thread: 2 Guest(s)