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 I don't know what's going on. FATAL ERROR
LeonAnders Offline
Junior Member

Posts: 2
Threads: 1
Joined: Aug 2013
Reputation: 0
#3
RE: I don't know what's going on. FATAL ERROR

(08-15-2013, 04:16 AM)JustAnotherPlayer Wrote:
void CollideDoorone(string &in asParent, string &in asChild, int alState)

It's int alState, not int alStates.

PlaySoundAtEntity("Sound_1", "00_laugh.snt", "Player", 0.1f, false);

You don't need a void in PlaySoundAtEntity. You only need it when it comes to functions. And it's Player, not player.

Thank you for that. Big Grin there were also some other problems that came after I did these changes but as I said... i USUALLY know what i'm doing these minor things I over looked. But it was sort of in vain cause the audio don't play when i want it too... BACK THE THE SCRIPTING BOARD!!!
08-15-2013, 04:31 AM
Find


Messages In This Thread
RE: I don't know what's going on. FATAL ERROR - by LeonAnders - 08-15-2013, 04:31 AM



Users browsing this thread: 1 Guest(s)