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 Simple script fail
Linus Ågren Offline
Senior Member

Posts: 309
Threads: 58
Joined: Jan 2011
Reputation: 5
#2
RE: Simple script fail

First of all, EntityCollideCallbacks arguments are "string &in asParent, string &in asChild, int alState".


Secondly, PlaySoundAtEntity is written wrong.


Write it like this:
PlaySoundAtEntity("", "00_laugh.snt", "door_scare", 0.0f, false);

You also forgot the " after "door_scare.

Creator of The Dark Treasure.
(This post was last modified: 01-17-2012, 01:58 PM by Linus Ågren.)
01-17-2012, 01:57 PM
Website Find


Messages In This Thread
Simple script fail - by EpicLisbe - 01-17-2012, 01:46 PM
RE: Simple script fail - by Linus Ågren - 01-17-2012, 01:57 PM
RE: Simple script fail - by EpicLisbe - 01-17-2012, 01:59 PM



Users browsing this thread: 1 Guest(s)