asah
11-24-2012, 07:43 PM
Hello
I have character and animate it in specific dress and I want change dress in second loop so write the following code to be continue animation with old dress in first loop and assign this code to button
$startFrame1=`currentTime -q`;
int $currentFrame1=$startFrame1;
while($currentFrame1 <= 471)
{
$currentFrame1+=1;
currentTime $currentFrame1;
}
// code for replace dress
And I have music when animation
So When click the button, the character continue animate with music but music ends before the animation character end
How solve this problem?
I have character and animate it in specific dress and I want change dress in second loop so write the following code to be continue animation with old dress in first loop and assign this code to button
$startFrame1=`currentTime -q`;
int $currentFrame1=$startFrame1;
while($currentFrame1 <= 471)
{
$currentFrame1+=1;
currentTime $currentFrame1;
}
// code for replace dress
And I have music when animation
So When click the button, the character continue animate with music but music ends before the animation character end
How solve this problem?
