Breakroom is now Sinewave Campus. Book a meeting

SLandmark

ClientTypes
Dans cette classeName
  1. Propriétés
  2. Name
  3. Position
  4. Rotation
  5. SpawnPoint
  6. SpawnRadius
  7. Type
Membres 6
PropriétéNameLandmark's Name
PropriétéPositionLandmark's Position
PropriétéRotationLandmark's Rotation
PropriétéSpawnPointIs this Landmark a spawn point?
PropriétéSpawnRadiusThe size of the radius around the Landmark where players spawn within
PropriétéTypeThe type of Landmark

Propriétés​

NameLecture seule​

string Name {get; }

Landmark's Name

Exemple

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

PositionLecture seule​

SVector Position {get; }

Landmark's Position

Exemple

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

RotationLecture seule​

SQuaternion Rotation {get; }

Landmark's Rotation

Exemple

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

SpawnPointLecture seule​

bool SpawnPoint {get; }

Is this Landmark a spawn point?

Exemple

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

SpawnRadiusLecture seule​

float SpawnRadius {get; }

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

Exemple

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

TypeLecture seule​

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

Exemple

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