wiki.sine.space | sinespace

Scripting/Server/SScene

From wiki.sine.space
Revision as of 12:47, 22 February 2022 by Voidtech (Talk | contribs) (Created page with " =Public Member Functions= {{ScriptFunction|Table|GeneratePathTo|(int id, float value);|Returns a Table with a path generated between two given Vectors.|5=<pre>Space.Scene.Ge...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Public Member Functions

GeneratePathTo

Table GeneratePathTo (int id, float value);

Returns a Table with a path generated between two given Vectors.

Space.Scene.GeneratePathTo(FirstVector, SecondVector)


Properties

ConnectedAvatars

int ConnectedAvatars { get;}

Returns the number of Avatars connected to the region.

numOfAvatars = Space.Scene.ConnectedAvatars



Avatars

Table Avatars { get;}

Returns a table of SAvatar objects currently in the region

currentAvatars = Space.Scene.Avatars


Cells

Table Cells { get;}

Returns a table of SCell objects. (Not all cells are available at all times, a client on this server must be within 384m of a cell in order for it to exist.)

cellsTable = Space.Scene.Cells


Parcels

SParcelManager Parcels { get;}

Access to the SParcelManager class.

Space.Scene.Parcels