39 lines
848 B
HTML
39 lines
848 B
HTML
<HTML>
|
|
<HEAD>
|
|
<A HREF="../index.htm">Call of Duty Script Documentation</A>
|
|
<BR>
|
|
<H1>magicbullet ( <weaponName>, <sourceLoc>, <destLoc> )</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 : <weaponName> The name of the weapon</LI>
|
|
<LI>2 : <start> The bullet tracer starting point</LI>
|
|
<LI>3 : <end> 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>
|