Lua Help: Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>JulienDethurens No edit summary |
>JulienDethurens The titles are already noticeable enough; let's leave formatting to the TitledBox template. |
||
Line 9: | Line 9: | ||
If you still don't understand something, you can ask at [http://www.roblox.com/Forum/ShowForum.aspx?ForumID=20 Scripting Helpers]. Note that you're more likely to get an answer if you ask a specific question than something general, and that if you have a problem with a piece of code, posting the code really helps people to find what the problem is. Posts just asking "How do I script?" or "Make me this" are usually ignored. | If you still don't understand something, you can ask at [http://www.roblox.com/Forum/ShowForum.aspx?ForumID=20 Scripting Helpers]. Note that you're more likely to get an answer if you ask a specific question than something general, and that if you have a problem with a piece of code, posting the code really helps people to find what the problem is. Posts just asking "How do I script?" or "Make me this" are usually ignored. | ||
{{TitledBox/subheading| | {{TitledBox/subheading|Introduction series - read these first!}} | ||
{{CatList|Script Creation Walkthrough|Script Creation Walkthrough|Creating and running scripts.}} | {{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.}} | ||
Line 22: | Line 22: | ||
{{CatList|Generic for|Generic for|Using a loop to iterate through a table.}} | {{CatList|Generic for|Generic for|Using a loop to iterate through a table.}} | ||
{{TitledBox/subheading| | {{TitledBox/subheading|Other Guides}} | ||
{{CatList|Absolute beginner's guide to scripting|Beginner's Guide to Scripting|If you've never worked with scripting before, look here.}} | {{CatList|Absolute beginner's guide to scripting|Beginner's Guide to Scripting|If you've never worked with scripting before, look here.}} | ||
{{CatList|Basic Scripting|Basic Scripting|Shows you some of the basics of scripting.}} | {{CatList|Basic Scripting|Basic Scripting|Shows you some of the basics of scripting.}} | ||
Line 29: | Line 29: | ||
{{CatListUrl|http://www.lua.org/pil|Programming In Lua|Guide to Lua by its creators. (partly out of date)}} | {{CatListUrl|http://www.lua.org/pil|Programming In Lua|Guide to Lua by its creators. (partly out of date)}} | ||
{{TitledBox/subheading| | {{TitledBox/subheading|Introductions to Concepts}} | ||
{{CatList|Beginner's GUI Tutorial|What are GUIs?|This very in-depth guide explains what GUIs are.}} | {{CatList|Beginner's GUI Tutorial|What are GUIs?|This very in-depth guide explains what GUIs are.}} | ||
{{CatList|Introduction to Weapons|Intro to Weapons|An intro into the scripting of Weapons in Roblox.}} | {{CatList|Introduction to Weapons|Intro to Weapons|An intro into the scripting of Weapons in Roblox.}} | ||
Line 42: | Line 42: | ||
{{CatList|String Patterns|Using String Patterns|What string patterns are and how to use them.}} | {{CatList|String Patterns|Using String Patterns|What string patterns are and how to use them.}} | ||
{{TitledBox/subheading| | {{TitledBox/subheading|Reference}} | ||
{{CatList|Scripting|Scripting|}} | {{CatList|Scripting|Scripting|}} | ||
{{CatList|Function Dump|Functions|A list of all the global functions.}} | {{CatList|Function Dump|Functions|A list of all the global functions.}} | ||
Line 48: | Line 48: | ||
{{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 5.1 Reference Manual|Official definition of the Lua language. (some features not available in Roblox)}} | ||
{{TitledBox/subheading| | {{TitledBox/subheading|Example Scripts}} | ||
{{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 creating a brick using a script.}} | {{CatList|How do I create a brick?|Creating a Brick|Basic tutorial on creating a brick using a script.}} |
Revision as of 23:51, 22 February 2012
Roblox Lua
Making your maps do crazy things
Making your maps do crazy things
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 page provides tutorials to help users to learn Lua.
There are often multiple tutorials on the same subject, so if you don't understand something in one of them, try another!
If you still don't understand something, you can ask at Scripting Helpers. Note that you're more likely to get an answer if you ask a specific question than something general, and that if you have a problem with a piece of code, posting the code really helps people to find what the problem is. Posts just asking "How do I script?" or "Make me this" are usually ignored.