View Full Version : Animation with Pick up and Drop off behaviors
6th Dec 2006, 11:47 PM
During a "Study" interaction, I have a Sim pick up an object, gain skill points and place it down. I want to put an animation loop (read Echo's tuts which are great) in during the gain skill point section. I have put in one animation just to test. The coding has the pickup function linked to the animation, then the drop function. The sim does not do the animation, it just picks up the object, you can see the blue skill thing above the head and then the sim immediately puts the object down.
Anyone have any ideas why this would be so? I can upload the package if you need to see it.
7th Dec 2006, 12:06 AM
Yes, looking at the package would help...
7th Dec 2006, 12:33 AM
OK and thanks.
It is not really textured or anything, I have some work to do on that.
10th Dec 2006, 04:03 AM
OK, I have tried everything I can think of. Whenever I change something (the drop function after the skill end command or after the standard exit command....) the object just disappears which seems to be a step backward.
10th Dec 2006, 07:50 AM
Is it just the animation loop that's causing you concerns? The only problems I can see with that part are:
a. You picked a pretty bad animation (the sim does pretty much nothing with this one)
b. You forgot to put the loop in. ;)
I put a loop in, and the sim stands there until the interaction is cancelled, then puts down the object.
10th Dec 2006, 10:15 AM
Paleoanth, sorry for the delay... I've downloaded your package as soon as you posted it, and noticed much the same as Echo (the animation is just too short and simple to be correctly shown in between the Pickup and the Drop actions.
I guessed that you actually wanted the sim to perform a full "View" interaction, with all the animations and such, but I neded to find the time to experiment, which led to my delay in replying you :P -
I've imported the semiglobal View interaction, fixed it a little (stripped off the "Route to painting") and included it in your "Study" interaction. The result is that the sim now picks the object, performs a full "View" animation (which isn't very beautiful to see, because the sim moves the hands too much... :) ) while "learning", and lastly drops the object.
I've kept the "View" interaction as a separate sub, so you can modify it at will, without touching anymore the "Study" bhav.
10th Dec 2006, 04:03 PM
Thank you both so much! I will download both versions and look at the coding. I actually did have an entire loop set up at one point, but it kept going wonky so I just removed most of it to try and diagnose the problem. Then I got stuck.
What exactly did I do wrong?
Edit: Holy crap Numenor! That entire subfunction is crazy! I want to sign up for classes.
vBulletin v3.0.14, Copyright ©2000-2013, Jelsoft Enterprises Ltd.