Jump to content

Toggle Between Animations With Activator


Recommended Posts

So basically there are two animations on an object and I want to toggle between them through an activator. The animation is of the object moving and the other is a stop animation. So when the moving animation is working and I select the object I want the stop animation to play and when I select it again I want the moving animation to play. How will the script to do this look like?

 

I guessing I'm going to have to use some booleans and whatnot but I don't know how to start it off.

 

Both are gamebryo animations and I'm using the Self.PlayGamebryoAnimation(AnimName, abStartOver = True) line to call them with AnimName being a String Property.

 

Thanks.

Edited by Nutulator
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...