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
Few questions
Essen Offline
Junior Member

Posts: 23
Threads: 2
Joined: Jul 2011
Reputation: 0
#31
RE: Few questions

(05-03-2013, 01:22 PM)The chaser Wrote: void OnStart()

{

////Monsters appear

PlaySoundAtEntity("Thenameofyoursound", "Player", 0.1, false);

AddEntityCollideCallback("Player", "EndingArea", "Stahp", true, 1);

}



void Stahp (string &in asParent, string &in asChild, int alState)

{

StopSound("Thenameofyoursound", 0.1);

///Yourcredits and other

}

Oh my god, use this one, I writed "tue" instead "true".

No, that's not the mistake. I actually fixed it up at the first one, and it still didn't work....
I don't think there's mistake in this script, I think it has to be different script or something....
(This post was last modified: 05-04-2013, 01:48 AM by Essen.)
05-04-2013, 01:46 AM
Find




Users browsing this thread: 1 Guest(s)