Game hierarchy: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>JulienDethurens
No edit summary
>JulienDethurens
Updated tree.
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
|t1=DataModel|c1={{tree
|t1=Camera
|t1=Workspace|c1={{tree
|t2=Terrain
|t1=Terrain
|t2=Camera
}}
|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=Visit
|t42=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
}}
}}

Revision as of 03:29, 18 March 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)

    {{{1}}}