|
| 20 Jun 2012 10:18 PM |
| Hey guys. I was wondering if you could just tell me about the basics of scripting and how I can use it and what I can use it for? Im trying to create better places, see. |
|
|
| Report Abuse |
|
|
200AB
|
  |
| Joined: 24 Aug 2010 |
| Total Posts: 1604 |
|
| |
|
|
| 20 Jun 2012 11:36 PM |
| 200 pretty much summarized it all in 1 word. |
|
|
| Report Abuse |
|
|
|
| 21 Jun 2012 05:15 AM |
| Thanks you've been a great help... |
|
|
| Report Abuse |
|
|
boilpoil
|
  |
| Joined: 07 Apr 2010 |
| Total Posts: 246 |
|
|
| 21 Jun 2012 08:39 AM |
lol.... I'll try to 'explain' it
Variable:
a = 2
Arguments:
function"()" :connect"()" remove"()"
Connection lines:
(Something).Triggerer:connect(Function Name)
these are the most basic xp |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
| |
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 21 Jun 2012 08:52 AM |
"Arguments: function"()" :connect"()" remove"()""
Actually... function() is a function, :connect() is a method and remove() is yet another function.
An argument is what is declared inside the parameters of a function when calling it.
function a(parameter1,parameter2) print(parameter1,parameter2) end
a("argument1","argument2") |
|
|
| Report Abuse |
|
|