ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. setPlayerMapView

Function

setPlayerMapView

ClientPlayersTrilogy Hub only

Moves the open map to a world point and sets the zoom. The map glides there smoothly. A zoom of 1 is the whole map in the window; the closest is about 10.

Syntax

bool setPlayerMapView(float x, float y, float zoom)

Arguments

xfloat
World X.
yfloat
World Y.
zoomfloat
Zoom, default 1.

Returns

true when the map is open.

Example

forcePlayerMap(true)
setPlayerMapView(2495, -1687, 4) -- Grove Street z bliska

See also