SetObjectStreamDistance: Difference between revisions

From Onset Developer Wiki
(Created page with "{{Info|Function|Server|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|SetObjectStreamDistance(object, distance)}} {{FuncParameters}} {{FuncParam|object|__EDIT_ME__}} {{...")
 
No edit summary
Line 1: Line 1:
{{Info|Function|Server|1.0}}
{{Info|Function|Server|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Set the specified object's stream distance.}}


{{FuncSyntax|SetObjectStreamDistance(object, distance)}}
{{FuncSyntax|SetObjectStreamDistance(object, distance)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|object|__EDIT_ME__}}
{{FuncParam|object|The object identifier.}}
{{FuncParam|distance|__EDIT_ME__}}
{{FuncParam|distance|The stream distance.}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|This function returns '''true''' on success.}}


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang="Lua">
SetObjectStreamDistance(objectId, 10000)
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
{{ObjectFunctions}}

Revision as of 19:44, 31 December 2019