41 lines
985 B
HTML
41 lines
985 B
HTML
<HTML>
|
|
<HEAD>
|
|
<A HREF="../index.htm">Call of Duty Script Documentation</A>
|
|
<BR>
|
|
<H1>print3d(<origin>, <text>, <color>, <alpha>, <scale> ...)</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 : <origin> 3d position of text to be drawn</LI>
|
|
<LI>2 : <text> The text to draw on the screen</LI>
|
|
</PRE></UL>
|
|
<H2>Number of optional arguments: 3</H2>
|
|
<BR>
|
|
<UL>
|
|
<PRE>
|
|
<LI>1 : <color> RGB color of the line in a vector, defaults to white</LI>
|
|
<LI>2 : <alpha> alpha value of the text (how transparent), defaults to 1</LI>
|
|
<LI>3 : <scale> size scale of the text, defaults to 1</LI>
|
|
</PRE></UL>
|
|
<BR>
|
|
<A HREF="../index.htm">Return to Function List</A><BR>
|
|
</BODY>
|
|
</HTML>
|