Sources with 'hit' controller can be animated with setHitPointDamage command applied to the name contained in hitpoint property. To animate doors or other sources that have 'user' controller, use animate command, or even better, animateSource (recommended).