Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
repeating a section of a method with a parameter?
Old
yessir
Guest
 
Status:
Posts: n/a
Question repeating a section of a method with a parameter? - 02-26-2010, 03:17 PM

So I have this walking method for one of the fairy characters, and its broken into three major sections - the beginning of the walk (which opens the legs), the continued walk (the part i want to loop), and the end of the walk (which brings the legs back together). I don't want to break this method up into three separate methods, so i was wondering if there was some way i could just loop one SECTION of this method with a parameter, so when later in the animation i want to change how far or how long the character walks i can change the amount of times her steps are looped with the parameter from the "my world first method".
   
Reply With Quote
 

Tags
loop, method, parameter, walk, walking

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.