|
| 15 May 2011 07:17 PM |
| If you want to learn scripting, you can come to a Scripting Camp session. After the session you will be quized via GUI, and then I'll give everyone there grades, and what they missed. There's 19 places for my first session - on Friday the 20th at 6:00 PM EST. Please do sign up. This is a beginners class, so you don't have to have any knowledge of scripting. |
|
|
| Report Abuse |
|
|
flamorie
|
  |
| Joined: 04 Feb 2009 |
| Total Posts: 8563 |
|
| |
|
| |
|
Viper22
|
  |
| Joined: 11 Apr 2008 |
| Total Posts: 1191 |
|
|
| 15 May 2011 07:22 PM |
I first thought this was an ACTUAL scripting camp in real life... A robloxian can dream... |
|
|
| Report Abuse |
|
|
NilPill
|
  |
| Joined: 20 Apr 2011 |
| Total Posts: 962 |
|
| |
|
regilord
|
  |
| Joined: 17 Dec 2008 |
| Total Posts: 4839 |
|
| |
|
|
| 15 May 2011 07:23 PM |
| Scripting camp isn't for me. |
|
|
| Report Abuse |
|
|
|
| 15 May 2011 07:25 PM |
It's Lua.
Also, the reason you should do scripting camp instead of wiki.roblox is that you actually get help, right there, right then, hands on. And it's more social. :) |
|
|
| Report Abuse |
|
|
| |
|
NilPill
|
  |
| Joined: 20 Apr 2011 |
| Total Posts: 962 |
|
| |
|
|
| 15 May 2011 07:28 PM |
| So far Awesomeness04 is the only one signed up. 18 places left! |
|
|
| Report Abuse |
|
|
|
| 15 May 2011 07:30 PM |
| Wait, why is it at a place? You can't practice there. |
|
|
| Report Abuse |
|
|
ndspinner
|
  |
| Joined: 06 Jul 2008 |
| Total Posts: 1215 |
|
|
| 15 May 2011 07:49 PM |
Sign me up too :3
And I was Bi-winning, too |
|
|
| Report Abuse |
|
|
| |
|
| |
|
NilPill
|
  |
| Joined: 20 Apr 2011 |
| Total Posts: 962 |
|
|
| 15 May 2011 07:57 PM |
Basic Lua: Made by MrHistory
Part 1: Value Types There are 7 value types: -Number: 1 -Boolean: true/false -String: "Characters" -Object: game.workspace -Table: {x = 1,y = 2} -Function: function Hi() print(1) end -Nil: nothing
It's okay if you didn't get a few of those.
Numbers: It's pretty self-evident. Numbers as in 12, 1, 0, 6.352
Boolean: There are two values. True and False.
String: These are groups of characters (aka words). They must be expressed in quotes. "Hello world!" "Lololololol"
Object: These are things such as Part, Mesh, Smoke, Fire, et cetera. To access an object, use dots as so: game.workspace game.Lighting game.workspace.Part
If you have an object named a number such as 1 or 12 or an object with a space in its name, you can use [] instead of a dot. game.workspace[1].Smoke game.workspace["This Has Spaces"].Smoke
Function: http://www.roblox.com/Forum/ShowPost.aspx?PostID=45496683 If you do not understand it, give it some time and then come back to it.
Table: These are groups of values that have keys. You can form a table with {}. Inside the table, you have to provide a key and value that matches the key. If you do not provide a key, the key will automatically be the number of the value in the order they appear. {x = 1,y = 2,z = "Hello"} {1,2,"Hello"} --In that table, no key was provided, so 1's key is 1, 2's key is 2, and "Hello"'s key is 3.
Part 2: Declarations & Variables When you declare a value, you state what you want something to be. game.workspace.Part.Name = "Hello" In objects, there are properties that state the characteristics of the object. All the properties are one of the value types above. For example, Name is a string. Reflectance is a number. CanCollide is a boolean.
A variable is a value that takes a name. x = "Hello" y = game.workspace.Part z = 1
This is extremely useful in coding because instead of stating the value repeatedly, you can state the variable instead. y.Reflectance = 1 game.workspace.Part.Name = x game.worksapce.Part.Transparency = z
Part 3: Operators NOTE: If you are not past 6th grade, I cannot help you. -Addition: + -Subtraction: - -Multiplication: * -Division: / -Exponentation: ^ -Modulus: % -Concatenation: .. -Unary: not
You should be familiar with the first 5, but the others are new. Modulus returns the remainder of division. 3%7 = 1 3%8 = 2 3%9 = 0
Concatenation allows you to join two strings. It is useful when using a variable.' x = "Jelly"
"u"..x --This will turn out to be uJelly.
The unary operator is mainly used to negate something such as true and false. not true --false not false --true
PM me questions. |
|
|
| Report Abuse |
|
|
|
| 15 May 2011 07:57 PM |
List of people signed up as of now: awesomeness04 ndspinner demoncloud15 airhead748 |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
|
| 15 May 2011 09:29 PM |
You're in. The list right now: awesomeness04 ndspinner airhead748 kingbowwow |
|
|
| Report Abuse |
|
|
|
| 15 May 2011 09:32 PM |
| Looks like a pretty cool idea. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 16 May 2011 02:34 PM |
SignSignSign. Just add a script thing and I'll be right over. |
|
|
| Report Abuse |
|
|