3 Replies Latest reply on Oct 10, 2008 5:38 AM by kglad

    can hp bars effect MCs?

    shintashi Level 1
      this is my script
      this._xscale = _root.hp2;

      but I would like to put in a different action from "_root.gotoAndStop(2)" but that (and trace) seem to be the only things that work. Is there a special way of handling hp bars?

      I would like a brick wall when struck by a cannon round to cause the hp bar to go down, and if the hp bar goes below zero, it commands the brick wall to delete from stage (remove) and removes itself. Alternatively, the brick wall switches or loads a pile of rubble and the undamaged looking one disappears.