Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Mugs on Thu 22/07/2004 01:03:11

Title: Error: SetCharacterView
Post by: Mugs on Thu 22/07/2004 01:03:11
This is making me so mad.  >:(

This is part of my script:

   
MoveCharacter (EGO,167,157); 
while (character[EGO].walking) Wait(1);
FaceLocation (EGO, 170,1);
DisplaySpeech (EGO, "I wonder what this does.");
SetCharacterView (EGO,11);    --> This line is the problem
Wait (40);
PlaySound (6);
Wait (30);
ReleaseCharacterView (EGO);

Right before it Sets the view, the program crashes and tells me:

You said 12 and max is 10. (in number of views)

-What the hell does that mean?
-And how do I fix this ?  :(
Title: Error: SetCharacterView (Woops !)
Post by: Mugs on Thu 22/07/2004 01:05:54
I'm sorry, it said:
You said 11 and max is 10
Title: Re: Error: SetCharacterView
Post by: Gilbert on Thu 22/07/2004 10:54:51
Are you sure there's a view 11 in your game?
Please check.
Title: Re: Error: SetCharacterView
Post by: Mugs on Fri 23/07/2004 04:31:17
Yes I did, but thanks anyways.
I got  AGS v2.61 and the error
is gone. But I think the error was
caused by AGS, not me.