Animate actor with 2 different sets of frames (idle loop sequence) (action sequence)

Hi guys,

new in here. So, here's the deal:
I got two frame sets of a character. The first is having a loop animation for idle mode, the second is for his action.

Created a rule to play the first set with loop but when I add a rule with touch/release event and add below the second Animate sequence I got a conflict on frames between two sets of frames, on play.

Any help please ?

Comments

  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598

    Hi @oramyst@gmail.com you'll need an attribute to use as a "switch". Normally a boolean would be OK so go ahead and make one of those; however, if you think you'll add even more animation sequences in the future, then make the attribute an integer. (In fact, even for just two states, I think an integer would be best anyway, so you can have a third state when neither animation is playing).

    ---So, in your Rules, something like:

    When AnimType is 1
    Animate ---your first animation

    When AnimType is 2
    Animate ---your 2nd animation

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

Sign In or Register to comment.