LogoLogo
Scripting DocsSupport
Scripting
Scripting
  • Sinespace Scripting Documentation
  • Client Scripting
    • Viewer
      • SDialogues
      • SInput
      • SShared
      • SUI
    • Network
      • SChat
      • SNetwork
      • SPhotos
      • SVideos
      • SWebService
    • Player
      • SEconomy
      • SGroup
      • SInventory
      • SProfile
      • SQuests
    • Region
      • SCameraManager
      • SGrid
      • SHost
      • SPersistence
      • SPhysics
      • SPostFX
      • SScene
      • SScript
      • SRenderSettings
    • Components
      • SAnimation
      • SAnimator
      • SAudioReactiveAnimation
      • SAudioReactiveBase
      • SAudioReactiveLight
      • SAudioReactiveMaterial
      • SAudioReactiveParticleSystem
      • SAudioReactiveTransform
      • SAudioSource
      • SBoxCollider
      • SBrowserSurface
      • SCamera
      • SCanvasGroup
      • SCapsuleCollider
      • SCharacterController
      • SClickable
      • SCloth
      • SCollider
      • SContentSizeFitter
      • SEmbeddedVideo
      • SEventCalendar
      • SFurniture
      • SGraphicRaycaster
      • SHingeJoint
      • SLight
      • SLineRenderer
      • SMeshRenderer
      • SModularVehicle
      • SNavMeshAgent
      • SNavMeshObstacle
      • SNetworking
      • SParticleSystem
      • SPlayableDirector
      • SPostProcessVolume
      • SRectTransform
      • SReflectionProbe
      • SRenderer
      • SRigidbody
      • SRoomFloor
      • SSceneBackgroundMusic
      • SScriptingData
      • SScriptingEvents
      • SScriptingResources
      • SScriptingRuntime
      • SSeat
      • SSkinnedMeshRenderer
      • SSphereCollider
      • SStateMachine
      • STerrain
      • STrailRenderer
      • SUIButton
      • SUICanvas
      • SUIDropdown
      • SUIImage
      • SUIInputField
      • SUILayout
      • SUIRawImage
      • SUIScrollbar
      • SUISlider
      • SUIText
      • SUIToggle
      • SUIToolTipHint
      • SVirtualCamera
      • SVoiceZone
    • Types
      • SAnimationState
      • SAnimatorStateInfo
      • SAvatar
      • SAvatarAppearance
      • SChatMessage
      • SColor
      • SCommandBuffer
      • SDateTime
      • SGameObject
      • SGenre
      • SGroupInfo
      • SInventoryItem
      • SJointLimits
      • SJointMotor
      • SJointSpring
      • SLandmark
      • SLayerMask
      • SMaterial
      • SMath
      • SMusicDirectory
      • SMusicStation
      • SMusicStationList
      • SNetworkMessageLua
      • SOutfit
      • SParticle
      • SPhysicsHit
      • SPublicRegion
      • SQuaternion
      • SRay
      • SRect
      • SResource
      • SScore
      • SScoreRank
      • SString
      • SSubRegion
      • STrackInfo
      • STuneIn
      • SUIRaycastResult
      • SUserRegions
      • SVector
      • SUserProfile
      • SSocialMedia
      • SWebResponse
  • Server Scripting
    • Library
      • SMath
    • Network
      • SShared
      • SWebservice
    • Region
      • SAvatar
      • SCell
      • SObject
      • SParcel
      • SParcelManager
      • SRegionScript
      • SScene
    • Storage
      • SDatabase
  • Guides
    • Persistence
    • Server Scripts
  • Sample Projects
    • Smart Lights
    • Trivia Box
  • Changelog
    • API Changelog
  • Support
    • Report An Issue
Powered by GitBook

Sinespace® is a registered trademark of Sine Wave Entertainment Ltd, All Rights Reserved.

On this page
  • Index
  • Properties Index
  • Properties
  • Level
  • AllTimeLeaderboard
  • DailyLeaderboard
  • AllTimePlayerRecord
  • DailyPlayerRecord

Was this helpful?

Export as PDF
  1. Client Scripting
  2. Types

SScoreRank

Index

Properties Index

Property

Properties

Level

int Level get

The level of current activity.

Space.Activity.FinishActivity(99956,100,0,function (rank)
    Space.Log(rank.Level)
end)

AllTimeLeaderboard

SScore[] AllTimeLeaderboard get

The AllTimeLeaderboard of current activity.

Space.Activity.FinishActivity(99956,100,0,function (rank)
    local leaderBoard=rank.AllTimeLeaderboard
    for i=1,#leaderBoard do
    Space.Log(leaderBoard[i].Rank)
    Space.Log(leaderBoard[i].Score)
    Space.Log(leaderBoard[i].Username)
    end
end)

DailyLeaderboard

SScore[] DailyLeaderboard get

The daily Leaderboard of current activity.

Space.Activity.FinishActivity(99956,100,0,function (rank)
    local leaderBoard=rank.DailyLeaderboard
    for i=1,#leaderBoard do
    Space.Log(leaderBoard[i].Rank)
    Space.Log(leaderBoard[i].Score)
    Space.Log(leaderBoard[i].Username)
    end
end)

AllTimePlayerRecord

SScore AllTimePlayerRecord get

The AllTimePlayerRecord of current activity.

Space.Activity.FinishActivity(99956,100,0,function (rank)
    local record=rank.AllTimePlayerRecord
    Space.Log(record.Rank)
    Space.Log(record.Score)
    Space.Log(record.Username)
end)

DailyPlayerRecord

SScore DailyPlayerRecord get

The daily player records of current activity.

Space.Activity.FinishActivity(99956,100,0,function (rank)
    local record=rank.DailyPlayerRecord
    Space.Log(record.Rank)
    Space.Log(record.Score)
    Space.Log(record.Username)
end)
PreviousSScoreNextSString

Last updated 2 years ago

Was this helpful?

int get

SScore[] get

SScore[] get

SScore get

SScore get

Level
AllTimeLeaderboard
DailyLeaderboard
AllTimePlayerRecord
DailyPlayerRecord