SetWebLocation: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|SetWebLocation(web, x, y [, z])}} {{FuncParameters}} {{FuncParam|web|__EDIT_ME__}} {{FuncParam|x|_..." |
No edit summary |
||
Line 1: | Line 1: | ||
{{Info|Function|Client|1.0}} | {{Info|Function|Client|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Set the location for the specified web.}} | ||
{{FuncSyntax|SetWebLocation(web, x, y [, z])}} | {{FuncSyntax|SetWebLocation(web, x, y [, z])}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|web| | {{FuncParam|web|The web identifier}} | ||
{{FuncParam|x| | {{FuncParam|x|The X axis}} | ||
{{FuncParam|y | | {{FuncParam|y |The Y axis}} | ||
{{FuncParamOptional|z| | {{FuncParamOptional|z|The Z axis}} | ||
{{FuncReturnValue| | {{FuncReturnValue|Returns '''true''' on success.}} | ||
== Example == | == Example == | ||
<syntaxhighlight lang="Lua"> | |||
SetWebLocation(webId, 0.0, 0.0) | |||
</syntaxhighlight> | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
{{WebFunctions}} |
Revision as of 17:24, 15 December 2019
Description
Set the location for the specified web.
Syntax
SetWebLocation(web, x, y [, z])
Parameters
- web
The web identifier - x
The X axis - y
The Y axis - z (optional)
The Z axis
Return Value
- Returns true on success.
Example
SetWebLocation(webId, 0.0, 0.0)