cod2-sdk/docs/ScriptFunctions/Animation/animscripted.htm
2006-04-20 00:00:00 +00:00

48 lines
1.1 KiB
HTML

<HTML>
<HEAD>
<A HREF="../index.htm">Call of Duty Script Documentation</A>
<BR>
<H1>animscripted( &lt;notify&gt;, &lt;origin&gt;, &lt;angles&gt;, &lt;animation&gt;, &lt;mode&gt;, &lt;root&gt;)</H1>
<BR>
</HEAD>
<BODY>
<H2>Module<PRE>Animation</PRE></H2>
<BR>
<H2>Summary</H2>
<BR>
<PRE>
Runs an animscript on an entity.
</PRE>
<BR>
<H2>Call this function on</H2>
<BR>
<PRE>
&lt;entity&gt; The entity to run the animscript on
</PRE>
<BR>
<H2>Example</H2>
<BR>
<PRE>
driver animscripted("germantruck_driver_closedoor", org , angles, driver.closedooranim);
</PRE>
<BR>
<H2>Minimum Number of arguments: 4</H2>
<BR>
<UL>
<PRE>
<LI>1 : &lt;notify&gt; The notify to send</LI>
<LI>2 : &lt;origin&gt; The starting position of the anim script</LI>
<LI>3 : &lt;angles&gt; The starting angle of the anim script</LI>
<LI>4 : &lt;animation&gt; The animation</LI>
</PRE></UL>
<H2>Number of optional arguments: 2</H2>
<BR>
<UL>
<PRE>
<LI>1 : &lt;mode&gt; Valid modes are "normal" and "deathplant"</LI>
<LI>2 : &lt;root&gt; The root animation</LI>
</PRE></UL>
<BR>
<A HREF="../index.htm">Return to Function List</A><BR>
</BODY>
</HTML>