Game Development Community

HOW TO PLAY THE DSQ SEQUENCE THROUGH SCRIPTING

by CloudFire · in Torque Developer Network · 10/09/2009 (9:03 am) · 3 replies


In my project i have to play dsq sequence. In root one player is walking when the player enters the triggers the dsq sequence should change to jump dsq.

Here i am trying with

%obj.setActionThread(%full_Jump.dsq)

%obj.playCelAnimation(%anim);


It is not working. The sequence is not changing.

could any one please help me to get running the dsq sequence animation through scripting .


thanks in advance



#1
10/12/2009 (6:02 pm)
buy the engine first, dont make spam, dont use only uppercase in yours descriptions, in other words you are a moron
#2
10/13/2009 (6:11 pm)
@Cloudfire: first it looks like your using the setActionThread function incorrectly, this may or may not work:
%obj.setActionThread("full_Jump"); //also make sure %obj is a valid object

Hope that helps, try not to use capslock in the title next time though. ;)
#3
10/13/2009 (11:39 pm)
http://www.garagegames.com/community/forums/viewthread/103177

You couldn't continue in that thread but had to start another thread... why ? And still all caps...

anyway, CSMP is correct, his script should work perfectly. If you actually know the difference between a sequence name and the name of an animation file