cod2-sdk/docs/ScriptFunctions/Sentient/issentient.htm
2006-04-20 00:00:00 +00:00

37 lines
718 B
HTML

<HTML>
<HEAD>
<A HREF="../index.htm">Call of Duty Script Documentation</A>
<BR>
<H1>issentient( &lt;entity&gt; )</H1>
<BR>
</HEAD>
<BODY>
<H2>Module<PRE>Sentient</PRE></H2>
<BR>
<H2>Summary</H2>
<BR>
<PRE>
Checks whether this entity is a sentient, that is either an ai character or the player
</PRE>
<BR>
<H2>Example</H2>
<BR>
<PRE>
if ( issentient ( vehicle.riders[j] )) ... ;
</PRE>
<BR>
<H2>Minimum Number of arguments: 1</H2>
<BR>
<UL>
<PRE>
<LI>1 : &lt;entity&gt; An entity object that may be a sentient character</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>