cod2-sdk/docs/ScriptFunctions/Weapons/magicbullet.htm
2006-04-20 00:00:00 +00:00

39 lines
848 B
HTML

<HTML>
<HEAD>
<A HREF="../index.htm">Call of Duty Script Documentation</A>
<BR>
<H1>magicbullet ( &lt;weaponName&gt;, &lt;sourceLoc&gt;, &lt;destLoc&gt; )</H1>
<BR>
</HEAD>
<BODY>
<H2>Module<PRE>Weapons</PRE></H2>
<BR>
<H2>Summary</H2>
<BR>
<PRE>
Fire a 'magic bullet', from the source location towards the destination point.
</PRE>
<BR>
<H2>Example</H2>
<BR>
<PRE>
magicbullet("mosin_nagant_sniper", self.origin, target.origin)
</PRE>
<BR>
<H2>Minimum Number of arguments: 3</H2>
<BR>
<UL>
<PRE>
<LI>1 : &lt;weaponName&gt; The name of the weapon</LI>
<LI>2 : &lt;start&gt; The bullet tracer starting point</LI>
<LI>3 : &lt;end&gt; The end point</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>