Frictional Games Forum (read-only)

Full Version: FATAL ERROR, fixed but still alert [SOLVED]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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
Thaaaank you ^_^