Call of Duty Script Documentation
setclock( <time>, <full time>, <material>, <height>, <width> )
ModuleHUD
Summary
Set a clock HUD element to count down over a time period.
Call this function on
Hud Clock Element
Example
level.bombstopwatch setClock(5, 60, "hudStopwatch", 64, 64);
Minimum Number of arguments: 3
1 : <time> The new timer time in seconds to count down
2 : <time> The time in seconds represented by a full cycle of the hand, for instance a stopwatch would be 60s.
3 : <material> The material for the hud clock
Number of optional arguments: 2
1 : <width> The width of the material.
2 : <height> The height of the material.
Return to Function List