cod2-sdk/docs/ScriptFunctions/Vehicles/joltbody.htm
2006-04-20 00:00:00 +00:00

46 lines
1 KiB
HTML

<HTML>
<HEAD>
<A HREF="../index.htm">Call of Duty Script Documentation</A>
<BR>
<H1>joltbody(&lt;jolt position&gt;, &lt;intensity&gt;, &lt;speedFrac&gt;, &lt;deceleration&gt;)</H1>
<BR>
</HEAD>
<BODY>
<H2>Module<PRE>Vehicles</PRE></H2>
<BR>
<H2>Summary</H2>
<BR>
<PRE>
Jolts the vehicle.
</PRE>
<BR>
<H2>Call this function on</H2>
<BR>
<PRE>
a vehicle
</PRE>
<BR>
<H2>Example</H2>
<BR>
<PRE>
self joltbody((self.origin + (0,0,64)),.5);
</PRE>
<BR>
<H2>Minimum Number of arguments: 2</H2>
<BR>
<UL>
<PRE>
<LI>1 : &lt;jolt position&gt; The position of the jolt</LI>
<LI>2 : &lt;intensity&gt; The intensity of the jolt</LI>
</PRE></UL>
<H2>Number of optional arguments: 2</H2>
<BR>
<UL>
<PRE>
<LI>1 : &lt;speedFrac&gt; A speed fraction to apply to the jolt. Most be betweeon 0 and 1.</LI>
<LI>2 : &lt;deceleration&gt; The deceleration to apply to this vehicle in miles per hour per second.</LI>
</PRE></UL>
<BR>
<A HREF="../index.htm">Return to Function List</A><BR>
</BODY>
</HTML>