AnimatedObjectsAndAssigning View

Started by cryptOrchid, Tue 12/10/2004 19:06:08

Previous topic - Next topic

cryptOrchid

ive search all the faqs and the help guides and couldnt fix it, ive linked an object to animated when i use an inventory item on it but everytime i use the item on the object and the test game crashes and a message says:
An error has occured.Please contact the game author for support, as this is likely a scripting error and not a bug.(global script line 60)Error:AnimateObject: Object has not been assigned a view..


any solutions?
thx

Ashen

Have you assigned the object a view? If not, look up SetObjectView () in the manual.
If you have, and you're still getting this, are you sure you're trying to animate the right object? Are you sure you assigned the view to the right object?
I know what you're thinking ... Don't think that.

reflecting god

Well now that is the problem, the help guide tells me something but it doesnt tell me what i need to know, i know i need to set the view but where do i do this? (the help doesnt specify this) it says i need to type a object number and view number. i know the object number but what is the view number? the number it is on the list under the (views) command....

Ashen

Yes, the view number is the number of the view that contains the animation you want to run (the number it is on the list under the views command).

As to where to put it, it can either be in one of the 'Player enters screen' interactions (First time, Before Fade In, After Fade In), accessed via the 'i' button on the Room Settings window, or just before you run the animation in the objects interactions list.
I know what you're thinking ... Don't think that.

cryptOrchid

awsome thanks,that worked. appriciate the help.

SMF spam blocked by CleanTalk