Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
script execution

script execution

2004-03-11       - By Scott Hamilton

 Back
Reply:     1     2     3  

I am trying to write a script that uses PlayForwardFromStart() (see code
below). The problem is that PlayForwardsFromStart() returns immediately,
thus executing the second block of code before the animation has
finished playing.  Is there anyway have execution wait until the
playback is finished?  

block 1: executes some code
PlayForwardsFromStart();

block 2: execute more code



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=747585000-12032004>I am trying to
write
a script that uses PlayForwardFromStart() (see code below). The problem is that
<FONT size=2>PlayForwardsFromStart() returns immediately, thus executing the
second block of code before the animation has finished playing.&nbsp; Is there
anyway have execution wait until the playback is finished?&nbsp;
</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=747585000-12032004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=747585000-12032004>block 1: executes
some code</SPAN></FONT></DIV>
<DIV><FONT><SPAN class=747585000-12032004>
<P><FONT face=Arial size=2>PlayForwardsFromStart();</FONT></P>
<P><SPAN class=747585000-12032004><FONT face=Arial size=2>block 2: execute more
code</FONT></SPAN></P></SPAN></FONT></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>