48 lines
1.1 KiB
HTML
48 lines
1.1 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<A HREF="../index.htm">Call of Duty Script Documentation</A>
|
|
<BR>
|
|
<H1>animscripted( <notify>, <origin>, <angles>, <animation>, <mode>, <root>)</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>
|
|
<entity> 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 : <notify> The notify to send</LI>
|
|
<LI>2 : <origin> The starting position of the anim script</LI>
|
|
<LI>3 : <angles> The starting angle of the anim script</LI>
|
|
<LI>4 : <animation> The animation</LI>
|
|
</PRE></UL>
|
|
<H2>Number of optional arguments: 2</H2>
|
|
<BR>
|
|
<UL>
|
|
<PRE>
|
|
<LI>1 : <mode> Valid modes are "normal" and "deathplant"</LI>
|
|
<LI>2 : <root> The root animation</LI>
|
|
</PRE></UL>
|
|
<BR>
|
|
<A HREF="../index.htm">Return to Function List</A><BR>
|
|
</BODY>
|
|
</HTML>
|