cod2-sdk/docs/ScriptFunctions/Player/shellshock.htm

45 lines
906 B
HTML
Raw Normal View History

2006-04-20 00:00:00 +00:00
<HTML>
<HEAD>
<A HREF="../index.htm">Call of Duty Script Documentation</A>
<BR>
<H1>shellshock(&lt;shellshockname&gt;,&lt;duration&gt;)</H1>
<BR>
</HEAD>
<BODY>
<H2>Module<PRE>Player</PRE></H2>
<BR>
<H2>Summary</H2>
<BR>
<PRE>
Start a shell shock sequence for the player. The shell shock must be precached, otherwise calling this script will cause a script error.
</PRE>
<BR>
<H2>Call this function on</H2>
<BR>
<PRE>
&lt;player&gt;
</PRE>
<BR>
<H2>Example</H2>
<BR>
<PRE>
self shellshock("death", 5);
</PRE>
<BR>
<H2>Minimum Number of arguments: 2</H2>
<BR>
<UL>
<PRE>
<LI>1 : &lt;shellshockname&gt;</LI>
<LI>2 : &lt;duration&gt; duration in seconds. The duration must be between 0 and 60 seconds. </LI>
</PRE></UL>
<H2>Number of optional arguments: 0</H2>
<BR>
<UL>
<PRE>
</PRE></UL>
<BR>
<A HREF="../index.htm">Return to Function List</A><BR>
</BODY>
</HTML>