47 lines
1.1 KiB
HTML
47 lines
1.1 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<A HREF="../index.htm">Call of Duty Script Documentation</A>
|
|
<BR>
|
|
<H1>setclockup( <time>, <full time>, <material>, <height>, <width> ) </H1>
|
|
<BR>
|
|
</HEAD>
|
|
<BODY>
|
|
<H2>Module<PRE>HUD</PRE></H2>
|
|
<BR>
|
|
<H2>Summary</H2>
|
|
<BR>
|
|
<PRE>
|
|
Set a clock HUD element to count up over a time period.
|
|
</PRE>
|
|
<BR>
|
|
<H2>Call this function on</H2>
|
|
<BR>
|
|
<PRE>
|
|
Hud Clock Element
|
|
</PRE>
|
|
<BR>
|
|
<H2>Example</H2>
|
|
<BR>
|
|
<PRE>
|
|
level.bombstopwatch setClockUp(5, 60, "hudStopwatch", 64, 64);
|
|
</PRE>
|
|
<BR>
|
|
<H2>Minimum Number of arguments: 3</H2>
|
|
<BR>
|
|
<UL>
|
|
<PRE>
|
|
<LI>1 : <time> The new timer time in seconds to count up</LI>
|
|
<LI>2 : <full time> The time in seconds represented by a full cycle of the hand, for instance a stopwatch would be 60s.</LI>
|
|
<LI>3 : <material> The material for the hud clock </LI>
|
|
</PRE></UL>
|
|
<H2>Number of optional arguments: 2</H2>
|
|
<BR>
|
|
<UL>
|
|
<PRE>
|
|
<LI>1 : <width> The width of the material.</LI>
|
|
<LI>2 : <height> The height of the material.</LI>
|
|
</PRE></UL>
|
|
<BR>
|
|
<A HREF="../index.htm">Return to Function List</A><BR>
|
|
</BODY>
|
|
</HTML>
|