Breakroom is now Sinewave Campus. Book a meeting

SLandmark

ClientTypes
On this className
  1. Properties
  2. Name
  3. Position
  4. Rotation
  5. SpawnPoint
  6. SpawnRadius
  7. Type
Members 6
PropertyNameLandmark's Name
PropertyPositionLandmark's Position
PropertyRotationLandmark's Rotation
PropertySpawnPointIs this Landmark a spawn point?
PropertySpawnRadiusThe size of the radius around the Landmark where players spawn within
PropertyTypeThe type of Landmark

Properties​

NameRead only​

string Name {get; }

Landmark's Name

Example

Lua
LandmarkName = Space.Scene.Landmarks[1].Name

PositionRead only​

SVector Position {get; }

Landmark's Position

Example

Lua
LandmarkPosition = Space.Scene.Landmarks[1].Position

RotationRead only​

SQuaternion Rotation {get; }

Landmark's Rotation

Example

Lua
LandmarkRotation = Space.Scene.Landmarks[1].Rotation

SpawnPointRead only​

bool SpawnPoint {get; }

Is this Landmark a spawn point?

Example

Lua
LandmarkSpawnPoint = Space.Scene.Landmarks[1].SpawnPoint

SpawnRadiusRead only​

float SpawnRadius {get; }

The size of the radius around the Landmark where players spawn within

Example

Lua
LandmarkSpawnRadius = Space.Scene.Landmarks[1].SpawnRadius

TypeRead only​

int Type {get; }

The type of Landmark
1= LandingZone, 2= Area, 3= Shop, 4= Quest,5= Activity, 6= Teleport, 7= Music, 8= Dance, 9= Clothes, 10= Vehicle, 11= Item

Example

Lua
LandmarkType = Space.Scene.Landmarks[1].Type