Scripting/Server/Classes/Sphere
A glowing marker that detects when players enter or leave it. Created with CreateSphere (everybody) or CreateClientSphere (one player).
| Property | Type | Access | Description |
|---|---|---|---|
ID | integer | r | |
Pos | Vector | rw | |
Radius | float | rw | Metres. |
Colour | Colour | rw | Marker colour. |
Type | integer | rw | 0 = sphere, 1 = checkpoint. |
VirtualWorld | integer | rw |
Methods and functions
- sphere.Remove – Removes the sphere.
Categories: Server classes