Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Problems :(( help!
Author Message
Dizturbed Offline
Member

Posts: 160
Joined: Jun 2011
Reputation: 0
Post: #1
Script Problems :(( help!
Im getting a error everytime I try to test my scripts out..
The pic of the error is down at the attachments.
Please help!

EDIT:

forgot to add the code Tongue
PHP Code: (Select All)
void OnStart()
{
AddEntityCollideCallback("Player""girlscreams"girlscream_1true1);
}
void girlscream_1(string &in asParentstring &in asChildint alState)
{
StartPlayerLookAt("lookat"10.0f10.0f"");
PlaySoundAtEntity("scream""21_intro_scream""Player"1false);


-Dizturbed


Attached File(s)
.png  asdadsa.PNG (Size: 16.17 KB / Downloads: 14)

(This post was last modified: 07-17-2011 06:31 PM by Dizturbed.)
07-17-2011 06:26 PM
Find all posts by this user Quote this message in a reply
MrCookieh Offline
Member

Posts: 157
Joined: Jul 2011
Reputation: 0
Post: #2
RE: Script Problems :(( help!
AddEntityCollideCallback("Player", "girlscreams", girlscream_1, true, 1);

should be

AddEntityCollideCallback("Player", "girlscreams", "girlscream_1", true, 1);
07-17-2011 06:34 PM
Find all posts by this user Quote this message in a reply
Dizturbed Offline
Member

Posts: 160
Joined: Jun 2011
Reputation: 0
Post: #3
RE: Script Problems :(( help!
Woooow, thanks! im dumb -.-

07-17-2011 06:37 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)