i have a couple of questions and need help....please help.

I have a couple of questions i will make it one question at a time. first question, i need men to animate automatically by themselves when they shoot a ball but not being controlled by any button but by themselves.

Answers

  • RThurmanRThurman Member, Sous Chef, PRO Posts: 2,880
    edited June 2014

    Make an actor level Boolean attribute called "myTurnToShoot?". Then whenever the conditions are right for the actor to shoot use a change attribute behavior:

    Change Attribute: MyTurnToShoot? To: true
    

    Then have a rule in actor that can detect when its time to shoot:

    When (all) MyTurnToShoot? is true
      (do your shooting routine/animation)
      Change Attribute: MyTurnToShoot? To: false
    otherwise
      (you might have some other stuff going on when not shooting)
    

    That's the basics of 'automatic' behaving.

  • macman123macman123 Member Posts: 98

    @RThurman‌ Ok thanks

Sign In or Register to comment.