|
| 25 Mar 2012 06:18 AM |
Alright, so here is the script:
function onTouch(hit) hit.Parent
That is just a tid bit of it, but...the question is: How does ROBLOX know what hit is? We didn't define it. And I know you can use anything...but I mean...how does ROBLOX figure it out?
Thanks! |
|
|
| Report Abuse |
|
|
Trioxide
|
  |
| Joined: 29 Mar 2011 |
| Total Posts: 32902 |
|
| |
|
|
| 25 Mar 2012 06:25 AM |
| How? How does ROBLOX know WHERE to go for "hit.Parent" ?? |
|
|
| Report Abuse |
|
|
|
| 25 Mar 2012 06:26 AM |
| The BRACKETS () is a PARENTHESIS, its EXTRA INFORMATION |
|
|
| Report Abuse |
|
|
su8
|
  |
| Joined: 06 Mar 2009 |
| Total Posts: 6334 |
|
|
| 25 Mar 2012 06:35 AM |
The function acts like the parameters aren't nil or missing when it's called. You define it with arguments when you call it.. |
|
|
| Report Abuse |
|
|