cod2-sdk/docs/ScriptFunctions/HUD/setclockup.htm
2006-04-20 00:00:00 +00:00

47 lines
1.1 KiB
HTML

<HTML>
<HEAD>
<A HREF="../index.htm">Call of Duty Script Documentation</A>
<BR>
<H1>setclockup( &lt;time&gt;, &lt;full time&gt;, &lt;material&gt;, &lt;height&gt;, &lt;width&gt; ) </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 : &lt;time&gt; The new timer time in seconds to count up</LI>
<LI>2 : &lt;full time&gt; The time in seconds represented by a full cycle of the hand, for instance a stopwatch would be 60s.</LI>
<LI>3 : &lt;material&gt; The material for the hud clock </LI>
</PRE></UL>
<H2>Number of optional arguments: 2</H2>
<BR>
<UL>
<PRE>
<LI>1 : &lt;width&gt; The width of the material.</LI>
<LI>2 : &lt;height&gt; The height of the material.</LI>
</PRE></UL>
<BR>
<A HREF="../index.htm">Return to Function List</A><BR>
</BODY>
</HTML>