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-12       - By kim aldis

 Back
Reply:     1     2     3  

you could drop in a while loop that checks current frame.


 __ __  

From: owner-xsi@(protected) [mailto:owner-xsi@(protected)] On Behalf Of
Scott Hamilton
Sent: 12 March 2004 00:57
To: xsi@(protected)
Subject: script execution


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 dir=ltr align=left><SPAN class=453250108-12032004><FONT face=Arial
color=#008080 size=2>you could drop in a while loop that checks current
frame.</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #008080 2px solid;
MARGIN-RIGHT: 0px">
 <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
 <HR tabIndex=-1>
 <FONT face=Tahoma size=2><B>From:</B> owner-xsi@(protected)
 [mailto:owner-xsi@(protected)] <B>On Behalf Of </B>Scott
 Hamilton<BR><B>Sent:</B> 12 March 2004 00:57<BR><B>To:</B>
 xsi@(protected)<BR><B>Subject:</B> script execution<BR></FONT><BR></DIV>
 <DIV></DIV>
 <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 size=+0><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></BLOCKQUOTE></BODY></HTML>