Author Topic: view.setsequence()  (Read 437 times)

I have been trying to make an object viewer, but I cannot seem to figure out how to make the object play an animation

From some guides I have been looking at online, this should be the proper way to do this:
Code: [Select]
view.setobject("Object", "filepath", "", 0);
view.loaddsq("Object", "filepath");
view.setsequence("Object", "thread", "sequence", "duration");

But I always get this message:

Error: Could not locate sequence X

where X is whatever I put for "sequence"

I know that the animation I want to play is sequence2, but I don't think I entirely understand the inputs for the function

I am not certain that this is really enough information for people to help me, so if anyone thinks they understand setsequence(), I would be happy to answer any questions they might have so they can answer mine.

First you need to load the dsq.
Then what ever the Animations called (When exported) you use that for the sequence.