dew481
|
  |
| Joined: 13 Oct 2010 |
| Total Posts: 1979 |
|
|
| 21 Sep 2011 08:42 PM |
What is the best way? Is it a tutorial on the internet, or a book or something?
Drew |
|
|
| Report Abuse |
|
|
|
| 21 Sep 2011 08:43 PM |
Wiki and trial and error.
-[::ƧѡÎḾḠΰῩ::]- -[::Maker of stuff and breaker of combos::]- |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 21 Sep 2011 08:48 PM |
As ss1122 says, the Wiki is a bad place to learn how to code in proper Lua, but is good for reference.
lua.org
<'+1 Post. Ujelly?'> |
|
|
| Report Abuse |
|
|
Ronnie124
|
  |
| Joined: 26 Nov 2009 |
| Total Posts: 694 |
|
|
| 21 Sep 2011 08:50 PM |
| I just hung out at script builders and asked a bunch of questions and also did use wiki as a reference if I didn't know a property of something. |
|
|
| Report Abuse |
|
|
fuzzyhed
|
  |
| Joined: 17 Sep 2008 |
| Total Posts: 1204 |
|
|
| 21 Sep 2011 08:51 PM |
| I learned through free models, editing scripts was how I got started. |
|
|
| Report Abuse |
|
|
|
| 21 Sep 2011 08:58 PM |
DO NOT USE THE WIKI FOR TUTORIALS ONCE YOU HAVE LEARNED THE BASICS. The only reason I use it now is to figure out what certain functions do. The 'Functions' page is my favorite reference ever for roblox's Lua.
(Many) Wiki tutorials = garbage Wiki references = shweet
-[::ƧѡÎḾḠΰῩ::]- -[::Maker of stuff and breaker of combos::]- |
|
|
| Report Abuse |
|
|
Aerideyn
|
  |
| Joined: 16 Jan 2010 |
| Total Posts: 1882 |
|
|
| 21 Sep 2011 09:42 PM |
Try and make something.. something which your not completely sure how to do. everytime you come to a problem you research it.. find possible objects/methods/ideas and ways to code it.
Everytime you succesfully solve the problem, you will never have that problem again and thus become that 1 step closer to being an advanced scripter.
Just keep trying to push the boundarys of what you know.. do something a little harder than you think you can. |
|
|
| Report Abuse |
|
|
SDuke524
|
  |
| Joined: 29 Jul 2008 |
| Total Posts: 6267 |
|
|
| 21 Sep 2011 09:50 PM |
@H2O
That statement is a myth that really needs to be broken. The wiki is probably the single most useful reference for rbx.lua and that will most likely not change. Point out to me one tutorial in which you find to be "garbage" and tell me why you think such things. |
|
|
| Report Abuse |
|
|
thatkane
|
  |
| Joined: 25 Feb 2011 |
| Total Posts: 17078 |
|
|
| 21 Sep 2011 09:54 PM |
| Wiki is without doubt, the worst place to learn how to script. Idk some people learn with different things. But it didn't help me. |
|
|
| Report Abuse |
|
|
Aerideyn
|
  |
| Joined: 16 Jan 2010 |
| Total Posts: 1882 |
|
|
| 21 Sep 2011 10:00 PM |
| The wiki is an amazing place to learn.. it seems to me looking around the only people who actually succeeded at learning to script well.. learnt the basics from the wiki and disected scripts from free models.. |
|
|
| Report Abuse |
|
|
GoldenUrg
|
  |
| Joined: 23 Aug 2009 |
| Total Posts: 6428 |
|
|
| 21 Sep 2011 10:00 PM |
Wiki is surely better than the Scripter's forum.
Just like any source, you should take what you find and try it for yourself.
If you find an error on the wiki, report it, so it can be corrected.
|
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 21 Sep 2011 10:01 PM |
Golden, I've found quite a bit, they don't get fixed, so I stop trying to find errors, and when I do, I just stare at it in disgust.
<'+1 Post. Ujelly?'> |
|
|
| Report Abuse |
|
|
SDuke524
|
  |
| Joined: 29 Jul 2008 |
| Total Posts: 6267 |
|
|
| 21 Sep 2011 10:10 PM |
@nate So have many, many before you claimed such things yet they all fail to answer the simplest question. Name one. |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 21 Sep 2011 10:24 PM |
"Name one." :o
I generally post them on Scripters, and Sorcus generally deletes them, nor do I bookmark the pages, but I'll try and find one quickly.
<'+1 Post. Ujelly?'> |
|
|
| Report Abuse |
|
|
|
| 21 Sep 2011 10:25 PM |
| Anyone who says the wiki is junk either does not know how to use it, or is not reading/comprehending it correctly. |
|
|
| Report Abuse |
|
|
Flasket
|
  |
| Joined: 20 Jan 2011 |
| Total Posts: 7639 |
|
|
| 21 Sep 2011 10:42 PM |
| If you know the basics going to advanced is easy. |
|
|
| Report Abuse |
|
|
|
| 21 Sep 2011 10:53 PM |
Advanced scripting is less learning, and more of comprehending concepts and putting 2 and 2 together. People think Lua is a lot more complicated than it is. For example the 'if' statement:
The stuff between the 'if' and the 'then' is a condition, which has it's own term. Conditions can be created at times other than if statements:
a = 1 b = 3 BoolValue.Value = a == b
BoolValue's value would be false. Another example:
BrickColorValue.Value = a == b and BrickColor.new("Bright red") or BrickColor.new("Bright blue")
You can even do this:
IntValue.Value = false or false or false or false or true and 4 or false or false
This would set IntValue's value to 4.
The only thing the 'if' statement does is run the code in it's scope IF the condition does not return 'false' or 'nil'. Even if it's not 'true' it will run:
if 5 then print('xd') end
> xd |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 21 Sep 2011 10:56 PM |
IntValue.Value = false or false or false or false or true and 4 or false or false
inefficient :o
<'+1 Post. Ujelly?'> |
|
|
| Report Abuse |
|
|
|
| 21 Sep 2011 10:57 PM |
| Well, yes, but you know, it's an example :3 |
|
|
| Report Abuse |
|
|