daortir
Senior Member
Posts: 422
Threads: 9
Joined: Sep 2013
Reputation:
18
|
RE: Asking for some help with the sound files !
Well I did manage to get my functions called : D !
Now I'm having some more issues (I'm sorry about asking so much help, but scripting kinda looks terribly hard to me xD). Her's the thing : I want my player to enter a script area, which actually is a bed. Then the screen fades to black while a message is displayed on the screen. So far, i made it work easily.
But then, I want to add a timer that calls the Changemap function when it expires.
And I just can't get it to work, I get a fatal error : "No matching signatures".
Here's the code I used :
void LevelFinished(string &in asParent, string &in asChild, int alState)
{
FadeOut(5);
SetMessage("Messages", "sleep", 3);
AddTimer("", 5, LoadNextMap);
}
void LoadNextMap(string &in asName, int alCount)
{
ChangeMap("firstdream", "PlayerStartArea_1", "", "");
}
Thanks again for all your help !
EDIT : renamed topic ^^. Maybe that'll be a little better.
(This post was last modified: 09-26-2013, 03:34 PM by daortir.)
|
|
09-26-2013, 03:32 PM |
|