Game hierarchy: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>JulienDethurens
No edit summary
>Anaminus
updated tree template
 
(6 intermediate revisions by 2 users not shown)
Line 19: Line 19:
(note: this hierarchy does not include StatsItems and children of the CoreGui)
(note: this hierarchy does not include StatsItems and children of the CoreGui)


{{tree|t1=DataModel
{{tree|
|t1=Workspace|c1={{tree
{{tree/node|DataModel|Place1|
|t1=Camera
{{tree/node|Workspace|Workspace|
|t2=Terrain
{{tree/node|Camera|Camera}}
{{tree/node|Message|Message}}
{{tree/node|Terrain|Terrain}}
}}
{{tree/node|ScriptContext|Script Context|
{{tree/node|StarterScript|StarterScript}}
{{tree/node|StarterScript|StarterScript}}
{{tree/node|CoreScript|Sections}}
}}
{{tree/node|Stats|Stats|}}
{{tree/node|ContentProvider|ContentProvider}}
{{tree/node|RunService|Run Service}}
{{tree/node||GuiRoot|}}
{{tree/node||GuiRoot}}
{{tree/node|ContentFilter|ContentFilter}}
{{tree/node|KeyframeSequenceProvider|Instance}}
{{tree/node|GuiService|GuiService}}
{{tree/node|Chat|Chat}}
{{tree/node|LocalBackpack|LocalBackpack}}
{{tree/node|StarterPack|StarterPack}}
{{tree/node|StarterGui|StarterGui}}
{{tree/node|CoreGui|CoreGui|}}
{{tree/node|SoundService|Soundscape|
{{tree/node|StockSound|Boing}}
{{tree/node|StockSound|Bomb}}
{{tree/node|StockSound|Break}}
{{tree/node|StockSound|Click}}
{{tree/node|StockSound|Clock}}
{{tree/node|StockSound|Slingshot}}
{{tree/node|StockSound|Page}}
{{tree/node|StockSound|Ping}}
{{tree/node|StockSound|Snap}}
{{tree/node|StockSound|Splat}}
{{tree/node|StockSound|Step}}
{{tree/node|StockSound|StepOn}}
{{tree/node|StockSound|Swoosh}}
{{tree/node|StockSound|Victory}}
}}
{{tree/node|JointsService|JointsService}}
{{tree/node|CollectionService|CollectionService}}
{{tree/node|PhysicsService|PhysicsService}}
{{tree/node|BadgeService|BadgeService}}
{{tree/node|Geometry|Geometry}}
{{tree/node|FriendService|FriendService}}
{{tree/node|RenderHooksService|RenderHooksService}}
{{tree/node|InsertService|InsertService}}
{{tree/node|SocialService|SocialService}}
{{tree/node|Debris|Debris}}
{{tree/node|TimerService|Instance}}
{{tree/node|ScriptInformationProvider|Instance}}
{{tree/node|CookiesService|CookiesService}}
{{tree/node|TeleportService|Teleport Service}}
{{tree/node|PersonalServerService|Instance}}
{{tree/node|Players|Players}}
{{tree/node||FilteredSelection}}
{{tree/node|Selection|Selection}}
{{tree/node||FilteredSelection}}
{{tree/node|MeshContentProvider|MeshContentProvider}}
{{tree/node|TextureContentProvider|TextureContentProvider}}
{{tree/node|Lighting|Lighting}}
{{tree/node|TextService|TextService}}
{{tree/node|ControllerService|Instance|
{{tree/node|HumanoidController|Instance}}
}}
{{tree/node|Visit|Visit}}
{{tree/node|ChangeHistoryService|ChangeHistoryService}}
}}
}}
|t2=ScriptContext|n2=Script Context|c2={{tree
|t1=StarterScript
|t2=StarterScript
|t3=CoreScript|n3=Sections
}}
|t3=Stats|c3={{tree
}}
|t4=ContentProvider
|t5=RunService|n5=Run Service
|t8=ContentFilter
|t9=KeyframeSequenceProvider|n9=Instance
|t10=GuiService
|t11=Chat
|t12=LocalBackpack
|t13=StarterPack
|t14=StarterGui
|t15=CoreGui
|t16=SoundService|n16=Soundscape|c16={{tree
|t1=StockSound|n1=Boing
|t2=StockSound|n2=Bomb
|t3=StockSound|n3=Break
|t4=StockSound|n4=Click
|t5=StockSound|n5=Clock
|t6=StockSound|n6=Slingshot
|t7=StockSound|n7=Page
|t8=StockSound|n8=Ping
|t9=StockSound|n9=Snap
|t10=StockSound|n10=Splat
|t11=StockSound|n11=Step
|t12=StockSound|n12=StepOn
|t13=StockSound|n13=Swoosh
|t14=StockSound|n14=Victory
}}
|t17=JointsService
|t18=CollectionService
|t19=PhysicsService
|t20=BadgeService
|t21=Geometry
|t22=FriendService
|t23=RenderHooksService
|t24=InsertService
|t25=SocialService
|t26=Debris
|t27=TimerService|n27=Instance
|t28=ScriptInformationProvider|n28=Instance
|t29=CookiesService
|t30=TeleportService|n30=Teleport Service
|t31=PersonalServerService|n31=Instance
|t32=Players
|t34=Selection
|t36=MeshContentProvider
|t37=TextureContentProvider
|t38=Lighting
|t39=TextService
|t40=ControllerService|n40=Instance|c40={{tree
|t1=HumanoidController|n1=Instance
}}
|t41=ChangeHistoryService
}}
}}

Latest revision as of 20:15, 10 April 2012

Introduction

What is Hierarchy?

Hierarchy is formatted text that is formed in a way to look like the Explorer window found in ROBLOX Studio. For example:

  • Workspace
    • Camera
  • Lighting
  • Players

You can travel to the next step in the hierarchy by using the '.' character. For example:

game.Workspace.Part --notice how I go from 'game' to 'Workspace' and then to a hypothetical part all by using the '.' character

Completed hierarchy example

(note: this hierarchy does not include StatsItems and children of the CoreGui)

  • DataModel
    Place1
    • Workspace
      Workspace
      • Camera
        Camera
      • Message
        Message
      • Terrain
        Terrain
    • ScriptContext
      Script Context
      • StarterScript
        StarterScript
      • StarterScript
        StarterScript
      • CoreScript
        Sections
    • Stats
      Stats
    • ContentProvider
      ContentProvider
    • RunService
      Run Service
    • GuiRoot
    • GuiRoot
    • ContentFilter
      ContentFilter
    • KeyframeSequenceProvider
      Instance
    • GuiService
      GuiService
    • Chat
      Chat
    • LocalBackpack
      LocalBackpack
    • StarterPack
      StarterPack
    • StarterGui
    • CoreGui
      CoreGui
    • SoundService
      Soundscape
      • StockSound
        Boing
      • StockSound
        Bomb
      • StockSound
        Break
      • StockSound
        Click
      • StockSound
        Clock
      • StockSound
        Slingshot
      • StockSound
        Page
      • StockSound
        Ping
      • StockSound
        Snap
      • StockSound
        Splat
      • StockSound
        Step
      • StockSound
        StepOn
      • StockSound
        Swoosh
      • StockSound
        Victory
    • JointsService
      JointsService
    • CollectionService
      CollectionService
    • PhysicsService
      PhysicsService
    • BadgeService
      BadgeService
    • Geometry
      Geometry
    • FriendService
      FriendService
    • RenderHooksService
      RenderHooksService
    • InsertService
      InsertService
    • SocialService
      SocialService
    • Debris
      Debris
    • TimerService
      Instance
    • ScriptInformationProvider
      Instance
    • CookiesService
      CookiesService
    • TeleportService
      Teleport Service
    • PersonalServerService
      Instance
    • Players
      Players
    • FilteredSelection
    • Selection
      Selection
    • FilteredSelection
    • MeshContentProvider
      MeshContentProvider
    • TextureContentProvider
      TextureContentProvider
    • Lighting
      Lighting
    • TextService
      TextService
    • ControllerService
      Instance
      • HumanoidController
        Instance
    • Visit
      Visit
    • ChangeHistoryService
      ChangeHistoryService