Editing the jumppad from the 3rd person tutorial

Hi, I've got the jumppad script from the 3rd person tutorial (from the unity3d site) but i need to edit it to work with my current scene. This is wat ive got now: - a simple plane - First Person Controller - JumpPad Trigger (with sphere collider)

This is the script:

var jumpHeight = 5.0;

function OnTriggerEnter (col : Collider) 
{
    var controller : FirstPersonController = col.GetComponent(FirstPersonController);
    if (controller != null)
    {
        if (audio) 
        {
            audio.Play();
        }

        controller.SuperJump(jumpHeight);
    }

}

// Auto setup the script and associated trigger.
function Reset ()
{
    if (collider == null)   
        gameObject.AddComponent(BoxCollider);
    collider.isTrigger = true;
}

@script RequireComponent(BoxCollider)
@script AddComponentMenu("First Person Props/Jump pad")

I simply changed every Third Person to First Person, but im getting the error: BCE0018: The name 'FirstPersonController' does not denote a valid type ('not found').

Ive tried several things but i just cant figure it out, it must be some simple solution but I dont know the program that good. Any help is appreciated! Thanks!

Hoi Casper,

The script you pasted above use FirstPersonController. The compileerror you see means that unity cannot find a script with that name.

Doei, Lucas

Yes, I could figure that out, but a solution for it would be nice. In sorry but it didnt answer my question.

When i change FirstPersonController to First Person Controller, I get the error: UCE0001 Insert a semicolon at the end.

I still don't know how to figure this out. Is there anyone who knows to make this script working?

Thanks!