bce0034 -_-

heres my script

var health = 60;
var something : GameObject;

function OnTriggerEnter(thing: Collider){
    if (thing.name == "Bullet"){
	health - 1;
    }
    else
    if (thing.name == "FlameBall"){
    health - 3;
    }
    else
    if (thing.name == "Bomb"){
	health - 6;
	}
	}
	
	function Update () {
	if (health <= 0)
	Destroy (something);
	}
i have 3 bce0034 errors, one at the first minus, one at the second and one at the semicolon after the 3rd minus

help plz

Instead of going

health - 1;

which is an assignment call, but with nothing to assign to, use

health -= 1;

Which modifies health directly. This is a shorthand for

health = health - 1;

which is the way you would usually modify an object in terms of itself.