llStopAnimation("sit"
; animation="new walk";
llSleep(0.5);
llStartAnimation(animation);
incrimentToPos(EndPos, NumIncriments);
llStopAnimation("new walk"
;llSleep(0.5);
llUnSit(SitID);
The incrimentToPos simply sets a new position for the object that is being sat upon.
What's supposed to happen is, you click sit to sit on the object. It stops the default sit pose and begins a new walk animation. While the walking animation is "firing" the object is moved, simulating a walk, and then the animation is stopped, once the destination is reached. At that point I simply want to stop the new walk animation and get off the object.
All goes fine until it's time to get up. The llUnSit appears to not be working. I added the llSleep's into the script thinking I may have a timing issue jumping between animations, but the pauses make no difference.
Am I doing something blatantly wrong that I cannot see? Is there "something about llUnSit" that requires some special quirky work-around coding? Any help anyone could provide to help get me off the object would be greatly appreciated!
Bartiloux Desmoulins