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
Script Help hps dosnt work in my map :S
SilentHideButFine Offline
Member

Posts: 156
Threads: 38
Joined: May 2012
Reputation: 6
#3
RE: hps dosnt work in my map :S

(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)
}

[url= http://www.moddb.com/mods/jessehmusic [/url] ,HOSPITAL OF HORROR MOD
05-11-2012, 10:18 PM
Find


Messages In This Thread
RE: hps dosnt work in my map :S - by Rownbear - 05-11-2012, 04:12 PM
RE: hps dosnt work in my map :S - by SilentHideButFine - 05-11-2012, 10:18 PM



Users browsing this thread: 1 Guest(s)