Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Dennis Ploeger on Sat 28/06/2003 20:15:16

Title: SetCharacterView-problem with 2.55
Post by: Dennis Ploeger on Sat 28/06/2003 20:15:16
Hi everyone!

I just stepped over a problem using 2.55. I tried to do a SetCharacterView(<NPC>,15) after creating View 15.
But when I test the game it stops and says "Tried to set view 15, max is 14" !?!??

Well, I see 15 views in the view-dialog. Even after creating an empty 16th view, the same message occurs.

What have I done wrong???
Title: Re:SetCharacterView-problem with 2.55
Post by: Pumaman on Sat 28/06/2003 22:57:13
Strange - if you try ChangeCharacterView, or SetObjectView, with view 15, do they accept it or do they give an error as well?
Title: Re:SetCharacterView-problem with 2.55
Post by: Dennis Ploeger on Sun 29/06/2003 11:36:21
.. it definitely is strange!

When I use a SetCharacterView >14 on the Player Character, it works.

The script btw is in the global script area. (use inventory on character)

I've now got 19 views and it's working now.... ?!?!?
Title: Re:SetCharacterView-problem with 2.55
Post by: Pumaman on Sun 29/06/2003 16:57:41
Very odd - do you still have a copy of the version where it wasn't working that you could send me, so that I can look into the problem?
Title: Re:SetCharacterView-problem with 2.55
Post by: Dennis Ploeger on Tue 01/07/2003 12:45:44
Sadly, I have overwritten the last version.

I will keep track of this error in some other projects...

Thx anyway.