SetCharacterView-problem with 2.55

Started by Dennis Ploeger, Sat 28/06/2003 20:15:16

Previous topic - Next topic

Dennis Ploeger

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???
deep

Pumaman

Strange - if you try ChangeCharacterView, or SetObjectView, with view 15, do they accept it or do they give an error as well?

Dennis Ploeger

.. 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.... ?!?!?
deep

Pumaman

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?

Dennis Ploeger

Sadly, I have overwritten the last version.

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

Thx anyway.
deep

SMF spam blocked by CleanTalk