Not signed in (Sign In)

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

    •  
      CommentAuthorsintrenton
    • CommentTimeJan 29th 2008
     # 1

    First, sorry for any possible typos. Posting this from my mobile phone, so I may be guilty of the T9 dialect of Typonese.

    I have a plane I'm constructing. It has a flight script in it and another script for the animation/pose. Both are in the mother prim, which is the seat.

    The peculiar thing is that first time I sit, the position becomes wrong. Angles, Y position are correct.
    If I stand up and re-seat, it works fine, it is just the first time after rez.
    Probably simple to solve, but beats me.

    • CommentAuthorSumie
    • CommentTimeJan 30th 2008
     # 2

    I have a related problem, maybe? I have a pose ball with a kneeling animation in it, and a sit script that calls that animation. For some reason, the script ignores the animation, or the script is being bypassed. If I edit the script (even just by a whitespace character) or reinitialize it, I get the "animate permissions" dialog, and then the animation works. How can I trouble shoot this, and get my kneeling animation to work when myself or others use this pose ball?

    • CommentAuthorVirrginia
    • CommentTimeJan 30th 2008 edited
     # 3

    I had a similar problem, and discovered that the aircraft script had a Sit Target as well (thereby confusing things by having two conflicting commands) You might wish to check that, and also any other scripts you might have in the vehicle.

  1.  # 4

    I have had this as well, with multiple sit position scripts being the culprit, but standing and sitting again should result in the same behaviour if it were that.

    It sounds a little like the sit position is being reset somehow, with one script setting it to one thing on rez, and possibly another thing setting it again. Or, the root prim sit position is being removed on rez, another pre-existing one is taking over, then the root prim is setting its sit position when you get up.

    •  
      CommentAuthorsintrenton
    • CommentTimeFeb 2nd 2008 edited
     # 5

    Thank you very much for your help. I suspect it was a case of conflicts in scripts. Thing is that in the Flight script (A), there were no animation, only regular sit start and stop (unsit) commands. Maybe when first rezzed that took precedence over the sit animation script (B). The animation was correct (from B), but the position wrong (from A).
    Anyway, I took out two parts from the sit animation script and simply added them to the flight script. This took care of the problem. It hasn't happened once since I changed it.
    Under run_time_permissions(integer perm) I added

    llStopAnimation("sit"); llStartAnimation("animationname");

    and under changed(integer change), for taking controls, detecting sitting and unsitting,

    llMessageLinked(LINK_SET, 0, "unseated", ""); llStopAnimation("animationname");

    (Edited, trying to get the breaks in codelines to work)