SetCharacterView problem

Started by LL Notorious B.I.G. Will C-H, Mon 26/05/2003 19:51:37

Previous topic - Next topic

LL Notorious B.I.G. Will C-H

Hello, ive used the setcharacter view function in a bunch of scripts no problem during my game, but now suddenly the game keeps crashing with the latest one ive put in (which uses view number 20).  It says that it an invalid view number has been used, i.e. I havent set that number view, but i have. Any ideas why this is anyone?
Ive tried resaving the game and starting the editor up again in the hope that it would save the view properly but it still does the same thing.
Punk Quest 0.5 is now available for your perusal if you so wish http://punkquest.to-j.com

Pumaman

So view 20 definately exists in the editor and has a few loops within it?

LL Notorious B.I.G. Will C-H

#2
view 20 definetely exists. It only has one loop (and one frame) in it because im just using the one standing image, which is exactly what ive done when ive used the command.
Will putting extra loops make a difference? I`lll give it a go now

edit: nope, doesnt make a difference  ???
The only thing thats slightly different is that this is the only character in the game that i have changed the view for more than once so far, could that be it?
Punk Quest 0.5 is now available for your perusal if you so wish http://punkquest.to-j.com

Pumaman

Actually no, that shouldn't make any difference. What's the exact text of the error message that you get?

LL Notorious B.I.G. Will C-H

It says:
An error has occured. Please contact the game author for support, as this problem is caused by the game rather than the intepreter.
(ACI version 2.54.522)

(Room 24 script line 10)
Error: SetCharacterView: invalid view number

Normally when I get a message like this ("caused by the game rather than the interpreter" yada yada) it is because ive forgotten to put something in, but this time it isn`t. The view loads up in the view editor everytime i load the game. Ive tried moving the command to another room (the change takes place between rooms) but it does the same thing wherever i put it.
Punk Quest 0.5 is now available for your perusal if you so wish http://punkquest.to-j.com

Pumaman

Hmm, try creating another view so that you have 21 of them, and then try again?

LL Notorious B.I.G. Will C-H

Hi,
ok i tried that, i did it so that it tried to change the view to 21, and i did with it still trying for view 20 but with an extra view after it. Both had exactly the same thing happen to it.
What im gonna do instead is create another character for this view and just put him in the place of the old one when the player comes back in the room. Not ideal but the players never going to know!!!!! Mwuhahahah
An odd problem tho, I always seem to find odd bugs that dont happen to anyone but me, ho hum.
Punk Quest 0.5 is now available for your perusal if you so wish http://punkquest.to-j.com

Pumaman

I'll modify the next version to print more detailed information with that error message, so once the final of 2.55 is out, please upgrade and see what happens.

SMF spam blocked by CleanTalk