SetObjectDetached: Difference between revisions

From Onset Developer Wiki
28days (talk | contribs)
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 8: Line 8:
{{FuncParam|object|The object identifier.}}
{{FuncParam|object|The object identifier.}}


{{FuncReturnValue|This function returs nothing.}}
{{FuncReturnValue|This function returns nothing.}}


== Example ==
== Example ==
<syntaxhighlight lang="Lua>
<syntaxhighlight lang="Lua>
__EDIT_ME__
if IsObjectAttached(object) then
  SetObjectDetached(object)
end
</syntaxhighlight>
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
{{Template:ObjectFunctions}}
{{Template:ObjectFunctions}}

Latest revision as of 14:30, 26 June 2021