cod2-sdk/docs/ScriptFunctions/Vehicles/setspeed.htm

45 lines
817 B
HTML

<HTML>
<HEAD>
<A HREF="../index.htm">Call of Duty Script Documentation</A>
<BR>
<H1>setspeed( &lt;speed&gt;, &lt;acceleration&gt; )</H1>
<BR>
</HEAD>
<BODY>
<H2>Module<PRE>Vehicles</PRE></H2>
<BR>
<H2>Summary</H2>
<BR>
<PRE>
Sets the speed for this vehicle.
</PRE>
<BR>
<H2>Call this function on</H2>
<BR>
<PRE>
a vehicle
</PRE>
<BR>
<H2>Example</H2>
<BR>
<PRE>
self setspeed(8,25);
</PRE>
<BR>
<H2>Minimum Number of arguments: 2</H2>
<BR>
<UL>
<PRE>
<LI>1 : &lt;speed&gt; The speed of the vehicle in miles per hour</LI>
<LI>2 : &lt;acceleration&gt; The acceleration of the vehicle in miles per hour per second</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>