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
EpicLisbe Offline
Junior Member

Posts: 13
Threads: 4
Joined: Dec 2011
Reputation: 0
#3
RE: Simple script fail

(01-17-2012, 01:57 PM)junkfood2121 Wrote: 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.
Ty Rolleyes



Omg.... Now i got problem it said at SetEntityActivate signature not match or something like that but i checked my enemy Dog i call it "koira_1" and its also "koira_1" in script so anyidea what the hell is wrong???
(This post was last modified: 01-17-2012, 02:23 PM by EpicLisbe.)
01-17-2012, 01:59 PM
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)