cod2-sdk/docs/ScriptFunctions/Player/playerlinktoabsolute.htm

45 lines
864 B
HTML

<HTML>
<HEAD>
<A HREF="../index.htm">Call of Duty Script Documentation</A>
<BR>
<H1>playerlinktoabsolute( &lt;lockto entity&gt;, &lt;tag&gt; )</H1>
<BR>
</HEAD>
<BODY>
<H2>Module<PRE>Player</PRE></H2>
<BR>
<H2>Summary</H2>
<BR>
<PRE>
Attaches the player to an entity. No view movement is allowed.
</PRE>
<BR>
<H2>Call this function on</H2>
<BR>
<PRE>
A Player Entity
</PRE>
<BR>
<H2>Example</H2>
<BR>
<PRE>
level.player playerlinktoabsolute( vehicle, "tag_player" );
</PRE>
<BR>
<H2>Minimum Number of arguments: 1</H2>
<BR>
<UL>
<PRE>
<LI>1 : &lt;lockto entity&gt; The entity to attach the player to</LI>
</PRE></UL>
<H2>Number of optional arguments: 1</H2>
<BR>
<UL>
<PRE>
<LI>1 : &lt;tag&gt; The tag to attach the player to</LI>
</PRE></UL>
<BR>
<A HREF="../index.htm">Return to Function List</A><BR>
</BODY>
</HTML>