Lua Help: Difference between revisions
no edit summary
>Mr Doom Bringer m (Changed protection level for "Lua Help" ([move=sysop] (indefinite))) |
>JulienDethurens No edit summary |
||
Line 1: | Line 1: | ||
<noinclude>__NOTOC__ {{clear floats}}</noinclude> | <noinclude>__NOTOC__ {{clear floats}}</noinclude> | ||
{{TitledBox/start|heading=<noinclude>{{CatUp|Main Page}}</noinclude>{{CatItem|luaCode.png|Lua Help|Roblox Lua|Making your maps do crazy things}}}} | {{TitledBox/start|heading=<noinclude>{{CatUp|Main Page}}</noinclude>{{CatItem|luaCode.png|Lua Help|Roblox Lua|Making your maps do crazy things}}}} | ||
[http://www.lua.org | [http://www.lua.org Lua] ('''not''' "LUA") is a simple programming language that is used in Roblox to add in customized content, like cars that drive, new weapons, etc. | ||
This <noinclude>page</noinclude><includeonly>section</includeonly> provides tutorials to help users to learn Lua. | This <noinclude>page</noinclude><includeonly>section</includeonly> provides tutorials to help users to learn Lua. | ||
Line 10: | Line 10: | ||
{{TitledBox/subheading|<b style{{=}}"font-size:1.25em;">Introduction series - read these first!</b>}} | {{TitledBox/subheading|<b style{{=}}"font-size:1.25em;">Introduction series - read these first!</b>}} | ||
{{CatList|Script Creation Walkthrough|Script Creation Walkthrough| | {{CatList|Script Creation Walkthrough|Script Creation Walkthrough|Creating and running scripts.}} | ||
{{CatList|Flowcharts|Flowcharts|Using diagrams to show the "flow" of a script.}} | {{CatList|Flowcharts|Flowcharts|Using diagrams to show the "flow" of a script.}} | ||
{{CatList|Basic math|Basic Math| | {{CatList|Basic math|Basic Math|Working with numbers in a script.}} | ||
{{CatList|String|Strings| | {{CatList|String|Strings|Working with text in a script.}} | ||
{{CatList|Bool|Booleans| | {{CatList|Bool|Booleans|Working with yes/no values in a script.}} | ||
{{CatList|Variables|Variables|}} | {{CatList|Variables|Variables|}} | ||
{{CatList|Conditional statements|Conditional Statements| | {{CatList|Conditional statements|Conditional Statements|Making scripts do different things in different situations.}} | ||
{{CatList|Loops|Loops| | {{CatList|Loops|Loops|Making a piece of code run multple times.}} | ||
{{CatList|Functions|Functions|}} | {{CatList|Functions|Functions|}} | ||
{{CatList|Tables|Tables|Storing multiple objects in one.}} | {{CatList|Tables|Tables|Storing multiple objects in one.}} | ||
{{CatList|Generic for|Generic for| | {{CatList|Generic for|Generic for|Using a loop to iterate through a table.}} | ||
{{TitledBox/subheading|<b style{{=}}"font-size:1.25em;">Other Guides</b>}} | {{TitledBox/subheading|<b style{{=}}"font-size:1.25em;">Other Guides</b>}} | ||
Line 35: | Line 35: | ||
{{CatList|Data Persistence Tutorial|Data Persistence Tutorial|A tutorial on understanding and using data persistence in your places.}} | {{CatList|Data Persistence Tutorial|Data Persistence Tutorial|A tutorial on understanding and using data persistence in your places.}} | ||
{{CatList|How To Increase and Decrease Vector3 Values|Using Vector3 Values|Shows how to use math with Vector3s.}} | {{CatList|How To Increase and Decrease Vector3 Values|Using Vector3 Values|Shows how to use math with Vector3s.}} | ||
{{CatList|Leaderboards|Using Leaderboards| | {{CatList|Leaderboards|Using Leaderboards|Creating your own leaderboards.}} | ||
{{CatList|Random numbers|Random Numbers| | {{CatList|Random numbers|Random Numbers|Stopping the same thing from happening each time.}} | ||
{{CatList|How To Make Plugins|How To Make Plugins| | {{CatList|How To Make Plugins|How To Make Plugins|Shows how you can make your own Roblox Studio toolbars and buttons.}} | ||
{{CatList|Tools|Using Tools| | {{CatList|Tools|Using Tools|Creating your own tools.}} | ||
{{CatList|HopperBins|Using HopperBins|The | {{CatList|HopperBins|Using HopperBins|The older version of tools, HopperBins.}} | ||
{{TitledBox/subheading|<b style{{=}}"font-size:1.25em;">Reference</b>}} | {{TitledBox/subheading|<b style{{=}}"font-size:1.25em;">Reference</b>}} | ||
{{CatList|Scripting|Scripting|}} | {{CatList|Scripting|Scripting|}} | ||
{{CatList|Function Dump|Functions|A list of all the global | {{CatList|Function Dump|Functions|A list of all the global functions.}} | ||
{{CatList|Class Reference|Class Reference|All the types of Roblox [[Instance | {{CatList|Class Reference|Class Reference|All the types of Roblox [[RBX.lua.Instance (Object)|Instances]].}} | ||
{{CatListUrl|http://www.lua.org/manual/5.1|Lua 5.1 Reference Manual|Official definition of the Lua language. (some features not available in Roblox)}} | |||
{{CatListUrl|http://www.lua.org/manual/5.1|Lua Reference Manual|Official | |||
{{TitledBox/subheading|<b style{{=}}"font-size:1.25em;">Example Scripts</b>}} | {{TitledBox/subheading|<b style{{=}}"font-size:1.25em;">Example Scripts</b>}} | ||
{{CatList|Cookbook|Cookbook|Large list of small example scripts}} | {{CatList|Cookbook|Cookbook|Large list of small example scripts}} | ||
{{CatList|How do I create a brick?|Creating a Brick|Basic tutorial on | {{CatList|How do I create a brick?|Creating a Brick|Basic tutorial on creating a brick using a script.}} | ||
{{CatList|Debounce|IS:What is Debounce?|Explains what | {{CatList|Debounce|IS:What is Debounce?|Explains what a debounce is, and what it's used for.}} | ||
{{CatList|Intro to Scripting: Make a Healing Potion|Making a Healing Potion|The Intro to Scripting series, how to Heal or Damage a Humanoid.}} | {{CatList|Intro to Scripting: Make a Healing Potion|Making a Healing Potion|The Intro to Scripting series, how to Heal or Damage a Humanoid.}} | ||
{{CatList|Intro to Scripting: Make a Dance Floor|Make a Dance Floor| | {{CatList|Intro to Scripting: Make a Dance Floor|Make a Dance Floor|Changing the color of a brick, and create simple loops.}} | ||
{{CatList|Intro to Scripting: Make an Invisibility Tool|Make an Invisibility Tool|Shows how to create Tools and turn yourself invisible.}} | {{CatList|Intro to Scripting: Make an Invisibility Tool|Make an Invisibility Tool|Shows how to create Tools and turn yourself invisible.}} | ||
{{CatList|How do I make VIP doors?|How to Create VIP Doors|Shows how to use tables, and to create a door that only certain people can enter.}} | {{CatList|How do I make VIP doors?|How to Create VIP Doors|Shows how to use tables, and to create a door that only certain people can enter.}} |