SetPlayerDimension: Difference between revisions

From Onset Developer Wiki
Created page with "{{Info|Function|Server|1.0}} {{FuncDescription|Sets the dimension of this player. Players can only see players in the same dimension. * Default dimension: 0 * Maximum dimens..."
 
28days (talk | contribs)
No edit summary
Line 1: Line 1:
{{Info|Function|Server|1.0}}
{{Info|Function|Server|1.0}}


{{FuncDescription|Sets the dimension of this player. Players can only see players in the same dimension.  
{{FuncDescription|Sets the dimension (Virtual World) of this player. Players can only see players in the same dimension.
* Default dimension: 0
* Default dimension: 0
* Maximum dimension: 4294967295}}
* Maximum dimension: 4294967295}}
Line 11: Line 11:
{{FuncParam|dimension|The new dimension to set.}}
{{FuncParam|dimension|The new dimension to set.}}


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


== Example ==
== Example ==
Line 17: Line 17:


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
{{Template:DimensionFunctions}}

Revision as of 15:48, 19 November 2019

SetPlayerDimension

Type: Function
Context: Server
Introduced: v1.0

Description

Sets the dimension (Virtual World) of this player. Players can only see players in the same dimension.

  • Default dimension: 0
  • Maximum dimension: 4294967295

Syntax

SetPlayerDimension(player, dimension)

Parameters

  • player
    The player identifier.
  • dimension
    The new dimension to set.

Return Value

  • This function returns nothing.

Example

__EDIT_ME__

See also

Template:DimensionFunctions