Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: pj206 on Mon 23/06/2008 12:40:36

Title: Error with function c_Talk
Post by: pj206 on Mon 23/06/2008 12:40:36
function cMerchant_Talk()
{
dMerchant.Start();
}
Error(line 411) :Nested functions not supported
Line 411 is function cMerchant_Talk()
Title: Re: Error with function c_Talk
Post by: Ishmael on Mon 23/06/2008 12:43:46
The first brace is wrong way around. It should be { not }
Title: Re: Error with function c_Talk
Post by: pj206 on Mon 23/06/2008 12:48:48
It is {,I just didn't copy it right.
Title: Re: Error with function c_Talk
Post by: Ishmael on Mon 23/06/2008 13:02:42
Oh, in that case there seems to be one missing from the end of the function before that one.