Rope::attachRopeToEntity: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
The position supplied can be anywhere, and the entity should anchor relative to that point from it's origin.
The position supplied can be anywhere, and the entity should anchor relative to that point from it's origin.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">rope.attachRopeToEntity(rope, entity, x, y, z, p5);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.rope.attachRopeToEntity(rope, entity, x, y, z, p5);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''rope:''' Object handle or object
*'''rope:''' Object handle or object
Line 13: Line 13:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Rope_function_c}}
{{Rope_functions_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 10:49, 12 May 2024