Page 1 of 1

Why do I get this Error?

Posted: Tue Jan 01, 2013 9:28 am
by CtrlAltDestory
I keep getting "Expected ) got BDSP" from this line in my decorate:

Code: Select all

BDSP C 6 Bright A_FireBullets(15, 8, 15, (random(1,1150)/random(1,250)*random(0,1)*ACS_ExecuteWithResult(999,0,0,0)), "BloodPuff")
If it matters this is what my ACS says (Its compiled dont ask):

Code: Select all

script 999 (void)
{
	if (CheckInventory("MathCounter") > 49)
		SetResultValue ( 3 );
 else
		SetResultValue ( 1 );
}

RE: Why do I get this Error?

Posted: Wed Jan 02, 2013 4:11 am
by BloodyAcid
I count 6 '(' brackets and 5 ')' brackets. Put one at the very end.

RE: Why do I get this Error?

Posted: Wed Jan 02, 2013 4:59 am
by CtrlAltDestory
BloodyAcid wrote: I count 6 '(' brackets and 5 ')' brackets. Put one at the very end.
Idk whats wrong with my brain every time i count it they are both equal.

Edit: I did nothing threw it back in and it works. Idk how it works but it does. Im worried about the error coming back.

Edit: Figured it out, Thanks for the help though.