|
| 11 Jan 2016 04:15 AM |
Umm What situations do I have to put local?what can it do? And what Game.Workspace (the dot in the middle) refers to? Thanks If any professional scripter could help me please msg me, thanks. |
|
|
| Report Abuse |
|
|
|
| 11 Jan 2016 06:26 AM |
| r0blox compl3tE guid3 2 scr1p+ing |
|
|
| Report Abuse |
|
|
duckwit
|
  |
| Joined: 08 Aug 2008 |
| Total Posts: 1310 |
|
|
| 11 Jan 2016 06:40 AM |
Professional scripters would consult the Lua reference manual:
http://www.lua.org/manual/5.1/manual.html#2.4.7 http://www.lua.org/manual/5.1/manual.html#2.6
There is also a friendlier guide on the official ROBLOX wiki concerning the use of local variables:
http://wiki.roblox.com/index.php?title=Scope |
|
|
| Report Abuse |
|
|
|
| 11 Jan 2016 06:48 AM |
| By what professional means I can tel you there are very, very little 'professional' scripters on roblox. |
|
|
| Report Abuse |
|
|
|
| 11 Jan 2016 07:24 AM |
the . basically goes through stuff
so workspace.hello.jobs
in workspace, find hello, then find jobs within hello.
local just means within a certain thing, more efficient if only using a variable within a method (function) |
|
|
| Report Abuse |
|
|