Originally Posted By: Jaxas
first change "function babybox()" to "action babybox()" and then create local variables like heart or what ever you want, or you can use skills for that wink
he doesnt have to...

what i would do, is define local variables in each baby player and have a global variable for the health bar, something like...
Code:
var globvar;

function babyplayer()
{
var my_health;
while(1)
 {
  if (myselected)//player selected this baby to view its health
  {
  globvar=my_health;
  }
  wait(1); 
 }
}


Last edited by darkinferno; 05/17/09 15:21.