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 Problems :(( help!
Dizturbed Offline
Member

Posts: 160
Threads: 39
Joined: Jun 2011
Reputation: 0
#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 Files
.png   asdadsa.PNG (Size: 16.17 KB / Downloads: 100)

(This post was last modified: 07-17-2011, 06:31 PM by Dizturbed.)
07-17-2011, 06:26 PM
Find
MrCookieh Offline
Member

Posts: 157
Threads: 8
Joined: Jul 2011
Reputation: 0
#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
Dizturbed Offline
Member

Posts: 160
Threads: 39
Joined: Jun 2011
Reputation: 0
#3
RE: Script Problems :(( help!

Woooow, thanks! im dumb -.-

07-17-2011, 06:37 PM
Find




Users browsing this thread: 1 Guest(s)