| Blockland Forums > Modification Help |
| view.setsequence() |
| (1/1) |
| Nexus:
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: ---view.setobject("Object", "filepath", "", 0); view.loaddsq("Object", "filepath"); view.setsequence("Object", "thread", "sequence", "duration"); --- End code --- 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. |
| Pah1023:
First you need to load the dsq. Then what ever the Animations called (When exported) you use that for the sequence. |
| Navigation |
| Message Index |