(05-11-2012, 04:12 PM)Rownbear Wrote: (05-11-2012, 04:07 PM)SilentHideButFine Wrote: Hello , i have an problem , when i start map the intro dosn't start anyone know how to fix this ???
Map name
start.hps
start.map
anyidéa what i have to do ?
make sure your start.hps isnt actually start.hps.txt
you might need to turn off that auto changefile as described on the wikisite, if this isnt the case then what you have scripted probably is something wrong with.
Hmm it says it is error in the hps....
void OnStart()
{
SetPlayerLampOil(10);
AddEntityCollideCallback("Player", "Script_Area_1", "Intro", true, 1);
}
void Intro(string &in asParent, string &in asChild, int alState)
{
FadeOut(20);
SetMessage("Message", "Intro", 2);
AddTimer("", 2, "Intro1");
}
void Intro1(string &in asTimer)
{
SetMessage("Message", "Intro1", 2);
AddTimer("", 2, "Intro2");
}
void Intro2(string &in asTimer)
{
SetMessage("Message", "Intro2", 2);
AddTimer("", 2, "Intro3");
}
void Intro3(string &in asTimer)
{
SetMessage("Message", "Intro3", 2);
AddTimer("", 2, "Intro3");
}
void Intro4(string &in asTimer)
{
SetMessage("Message", "Intro4", 5);
AddTimer("", 1, "Wakeup");
}
void Wakeup(string &in asTimer)
{
FadeIn(10)
AddTimer("", 1, "Wakeup1");
}
void Wakeup1(string &in asTimer)
{
FadeOut(5)
AddTimer("", 1, "Wakeup2");
}
void Wakeup2(string &in asTimer)
{
FadeIn(3)
}