Need help with Animations

Hey guys, I just need some assistance setting up animations to trigger them on a player we want to temporarily implement into our RPG.

I have a free spartan character from the asset store that comes with 11 animations. However, these 11 animations come under 1 animation which I dont understand but them numbers must be significant.

I want something like this is my game:

function Start (){

if (Input.GetKeyDown(KeyCode.J))



Well dude you have a lot of problems there :

  1. You are in update and your animation will be started once per frame ( 62 times per second let’s say ).

  2. The declaration is good but I’ll give you a tip :
    Import your character controller script and do the following

    var jumpAnim : AnimationClip;

    function Update (){

    var controller : CharacterController = GetComponent(CharacterController);

    if (Input.GetKeyDown(KeyCode.J) && !controller.isGrounded)