why dosent it work?, it is supposed to change the text when the game object does not exist (elfboss), but when i kill it it says the same
var target: Transform;
var healthtext : GUIText;
function Update ()
{
if(GameObject.Find("elfboss") != null)
{
healthtext.text = "Current Quest:" + "" + " Kill the Elf Boss ";
}
else
{
healthtext.text = "Quest" + "" + " Completed";
}
}