ScaleOverTime( <time>, <width>, <height> )


Module: HUD

Summary:

Set a hud element to scale over time.



Call this on:

Hud Element



Example:

other.progressbar ScaleOverTime( level.planttime, level.barsize, 8 ); 



Required Args:

  • 1 : <time> The time to scale the element in seconds
  • 2 : <width> The new width of the material.
  • 3 : <height> The new height of the material.