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 Files Dont Work Anymore WTF!?
Henriksen Offline
Senior Member

Posts: 308
Threads: 71
Joined: Dec 2010
Reputation: 2
#1
Script Files Dont Work Anymore WTF!?

Hi, my scripts stopped working today o.o

I dont know why this is the one that stopped working.

////////////////////////////
// Run first time starting map
void OnStart()
{
AddEntityCollideCallback("Hey", "Poop", "Open", true, 1);
}

void Open(string &in asParent, string &in asChild, int alState)
{
GiveSanityBoostSmall();
PlayGuiSound("20_puzzle.ogg",1);
}

////////////////////////////
// Run when entering map
void OnEnter()
{
PlayMusic("ambience_voice.ogg", true, 0.7f, 1, 0, false);
}

////////////////////////////
// Run when leaving map
void OnLeave()
{

}
05-28-2011, 12:37 PM
Find
Greven Offline
Member

Posts: 106
Threads: 13
Joined: May 2011
Reputation: 3
#2
RE: Script Files Dont Work Anymore WTF!?

(05-28-2011, 12:37 PM)teddifisk Wrote: Hi, my scripts stopped working today o.o

I dont know why this is the one that stopped working.

////////////////////////////
// Run first time starting map
void OnStart()
{
AddEntityCollideCallback("Hey", "Poop", "Open", true, 1);
}

void Open(string &in asParent, string &in asChild, int alState)
{
GiveSanityBoostSmall();
PlayGuiSound("20_puzzle.ogg",1);
}

////////////////////////////
// Run when entering map
void OnEnter()
{
PlayMusic("ambience_voice.ogg", true, 0.7f, 1, 0, false);
}

////////////////////////////
// Run when leaving map
void OnLeave()
{

}

Whats the error? Is it part of the script or the whole script? If its the whole script then have you renamed the .hps file or your .map file so they doesnt match?

[WIP] Recidivus
05-28-2011, 01:03 PM
Find
Henriksen Offline
Senior Member

Posts: 308
Threads: 71
Joined: Dec 2010
Reputation: 2
#3
RE: Script Files Dont Work Anymore WTF!?

(05-28-2011, 01:03 PM)Greven Wrote:
(05-28-2011, 12:37 PM)teddifisk Wrote: Hi, my scripts stopped working today o.o

I dont know why this is the one that stopped working.

////////////////////////////
// Run first time starting map
void OnStart()
{
AddEntityCollideCallback("Hey", "Poop", "Open", true, 1);
}

void Open(string &in asParent, string &in asChild, int alState)
{
GiveSanityBoostSmall();
PlayGuiSound("20_puzzle.ogg",1);
}

////////////////////////////
// Run when entering map
void OnEnter()
{
PlayMusic("ambience_voice.ogg", true, 0.7f, 1, 0, false);
}

////////////////////////////
// Run when leaving map
void OnLeave()
{

}

Whats the error? Is it part of the script or the whole script? If its the whole script then have you renamed the .hps file or your .map file so they doesnt match?

No error, but it works now... Odd Tongue
05-28-2011, 01:04 PM
Find
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#4
RE: Script Files Dont Work Anymore WTF!?

Rage much? Just kidding. Smile

05-28-2011, 01:28 PM
Find
Henriksen Offline
Senior Member

Posts: 308
Threads: 71
Joined: Dec 2010
Reputation: 2
#5
RE: Script Files Dont Work Anymore WTF!?

(05-28-2011, 01:28 PM)Kyle Wrote: Rage much? Just kidding. Smile

No need to say you were kidding I seriously raged x)
05-28-2011, 03:34 PM
Find




Users browsing this thread: 1 Guest(s)