1 Reply Latest reply on May 2, 2013 12:16 AM by tyree_2

    which animation

    tyree_2 Level 2

      how does anyone go about telling which animation has been played. playing only says if an animation is playing not which one. playlist list the motions but doesnt say when a specific one is playing

        • 1. Re: which animation
          tyree_2 Level 2

          I found the answer to this in a book I already had. I thought event, motion and time were paths,  given a variable name but it seems to be keywords.

           

          member(1).model("group01").registerScript(#animationstarted, #animbegin,me)


          on animbegin me, event, theMotion, theTime

            put "starting"&&event
            put "starting"&&theMotion
            put "starting"&&theTime

           

           

           

          end

           

          this will list the current event, motion name and time of the motion. which can be used as triggers