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
FATAL ERROR, fixed but still alert [SOLVED]
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#1
FATAL ERROR, fixed but still alert [SOLVED]

Simple error:

(299, 1) : INFO : Compiling void Insanity_1(string&in)
(305, 51) : ERR : Expected ')' or ','
(306, 51) : ERR : Expected ')' or ','

(307, 51) : ERR : Expected ')' or ','

(308, 51) : ERR : Expected ')' or ','

(309, 51) : ERR : Expected ')' or ','

(310, 51) : ERR : Expected ')' or ','

(311, 51) : ERR : Expected ')' or ','

(312, 51) : ERR : Expected ')' or ','

(313, 51) : ERR : Expected ')' or ','


And here is "Insanity_1"


void Insanity_1(string &in asEntity)
{
FadeOut(0);
TeleportPlayer("PlayerStartArea_1");
FadeIn(1);

SetPropActiveAndFade("insanity_1_slime_1", true, 7f); < Those are what it is pointing to... but they are
SetPropActiveAndFade("insanity_1_slime_2", true, 7f); right there
SetPropActiveAndFade("insanity_1_slime_3", true, 7f);
SetPropActiveAndFade("insanity_1_slime_4", true, 7f);
SetPropActiveAndFade("insanity_1_slime_5", true, 7f);
SetPropActiveAndFade("insanity_1_slime_6", true, 7f);
SetPropActiveAndFade("insanity_1_slime_7", true, 7f);
SetPropActiveAndFade("insanity_1_slime_8", true, 7f);
SetPropActiveAndFade("insanity_1_slime_9", true, 7f);
StartScreenShake(0.4, 120, 0, 0);
PlaySoundAtEntity("", "guardian_distant", "Player", 0.5f, false);
}

So what am i supposed to do?

Right in the moment it has no map cache.. So i can't delete that

Trying is the first step to success.
(This post was last modified: 07-07-2012, 03:18 PM by FlawlessHappiness.)
07-07-2012, 01:46 PM
Find
Apjjm Offline
Is easy to say

Posts: 496
Threads: 18
Joined: Apr 2011
Reputation: 52
#2
RE: FATAL ERROR, fixed but still alert

If you are using "f" to indicate a float, it must follow a number with a decimal point. I.e:
7.0f
rather than
7f
07-07-2012, 03:09 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#3
RE: FATAL ERROR, fixed but still alert[SOLVED]

Thaaaank you ^_^

Trying is the first step to success.
(This post was last modified: 07-07-2012, 03:18 PM by FlawlessHappiness.)
07-07-2012, 03:17 PM
Find




Users browsing this thread: 1 Guest(s)