cod2-sdk/docs/ScriptFunctions/Debug/print3d.htm
2006-04-20 00:00:00 +00:00

41 lines
985 B
HTML

<HTML>
<HEAD>
<A HREF="../index.htm">Call of Duty Script Documentation</A>
<BR>
<H1>print3d(&lt;origin&gt;, &lt;text&gt;, &lt;color&gt;, &lt;alpha&gt;, &lt;scale&gt; ...)</H1>
<BR>
</HEAD>
<BODY>
<H2>Module<PRE>Debug</PRE></H2>
<BR>
<H2>Summary</H2>
<BR>
<PRE>
Draw 3d text on screen
</PRE>
<BR>
<H2>Example</H2>
<BR>
<PRE>
print3d (start, "START", (1.0, 0.8, 0.5), 1, 3);
</PRE>
<BR>
<H2>Minimum Number of arguments: 2</H2>
<BR>
<UL>
<PRE>
<LI>1 : &lt;origin&gt; 3d position of text to be drawn</LI>
<LI>2 : &lt;text&gt; The text to draw on the screen</LI>
</PRE></UL>
<H2>Number of optional arguments: 3</H2>
<BR>
<UL>
<PRE>
<LI>1 : &lt;color&gt; RGB color of the line in a vector, defaults to white</LI>
<LI>2 : &lt;alpha&gt; alpha value of the text (how transparent), defaults to 1</LI>
<LI>3 : &lt;scale&gt; size scale of the text, defaults to 1</LI>
</PRE></UL>
<BR>
<A HREF="../index.htm">Return to Function List</A><BR>
</BODY>
</HTML>