Unknown identifier on a script reference

Gentlemen!

I know this has been asked before, but none of the solutions work for me. I'm trying to reference a static variable from one script in a separate camera script using 'CharacterSwitch1.currentCharacter' (CharacterSwitch1 being the name of the script, while currentCharacter is the static variable I'm attempting to call). And for some reason, this gives me an Unknown Identifier error.

The catch is that I did the same thing with another camera script, and came across no issues at all. I've no idea why this wouldn't work, as I'm using the same syntax as well as both camera scripts being in the same folder.

So, yeah. What on earth?

Javascript; I had said that the same thing was done in both codes. Specifically:

var target;
var target1 : Transform;
var target2 : Transform;
var target3 : Transform;

function Update () {

    if (CharacterSwitch1.currentCharacter == 1)
        target = target1;

    if (CharacterSwitch1.currentCharacter == 2)
        target = target2;

    if (CharacterSwitch1.currentCharacter == 3)
        target = target3;
}

And the source of the static variable:

var selectedCharacter : int = 1;
static var currentCharacter;

function Update() {

    if (selectedCharacter == 1)
        currentCharacter = 1;

    if (selectedCharacter == 2)
        currentCharacter = 2;

    if (selectedCharacter == 3)
        currentCharacter = 3;

} 

The path of the two camera scripts containing the first bit of code is in my Project>Assets>Scripts>Camera, and the script for source is in Project>Assets>Scripts>Player.

Also, I know a guy who specializes in crystal ball repair if you want me to hook you up.

You could try to define all of your variables:

var target : Transform;

and in the second script:

static var currentCharacter : int;