|
| 24 Dec 2011 03:22 PM |
statistics.Text = "Created a part at coordinates "..m.Hit.p
Statistics is a TextLabel. I don't see any problem with it. Help, please? |
|
|
| Report Abuse |
|
|
TwoBoo
|
  |
| Joined: 08 Feb 2011 |
| Total Posts: 10790 |
|
| |
|
| |
|
|
| 24 Dec 2011 03:24 PM |
i would assume 'm' is the mouse.
~I've been to nil and back. |
|
|
| Report Abuse |
|
|
|
| 24 Dec 2011 03:26 PM |
lateTost.... anyways... i see no reason why that wouldn't work :\
~I've been to nil and back. |
|
|
| Report Abuse |
|
|
|
| 24 Dec 2011 03:28 PM |
Neither do I!
The output says..
/Users/MyName/Documents/Roblox/plugins/Build/Build.lua:247: attempt to concatenate a userdata value |
|
|
| Report Abuse |
|
|
|
| 24 Dec 2011 03:42 PM |
try that?
statistics.Text = "Created a part at coordinates "..m.Hit.p.x","....m.Hit.p.y..","....m.Hit.p.z
~I've been to nil and back. |
|
|
| Report Abuse |
|
|
|
| 24 Dec 2011 03:42 PM |
^massive failure XD
statistics.Text = "Created a part at coordinates "..m.Hit.p.x..","..m.Hit.p.y..","..m.Hit.p.z
~I've been to nil and back. |
|
|
| Report Abuse |
|
|
|
| 24 Dec 2011 03:44 PM |
| The dotting was off, but the end result worked. Thank you. |
|
|
| Report Abuse |
|
|
|
| 24 Dec 2011 03:45 PM |
| How do you round the number? Because it ends up being a huge number.. |
|
|
| Report Abuse |
|
|
|
| 24 Dec 2011 03:49 PM |
statistics.Text = "Created a part at coordinates "..math.floor(m.Hit.p.x)..","..math.floor(m.Hit.p.y)..","..math.floor(m.Hit.p.z)
~I've been to nil and back. |
|
|
| Report Abuse |
|
|
| |
|
|
| 24 Dec 2011 05:20 PM |
| Wait, can you round it to the 10ths place or something? Rather than just the integer. |
|
|
| Report Abuse |
|
|
swmaniac
|
  |
| Joined: 28 Jun 2008 |
| Total Posts: 15773 |
|
|
| 24 Dec 2011 05:21 PM |
Round to tenths place:
x = 1.24 math.floor(x * 10)/10 >1.2 |
|
|
| Report Abuse |
|
|
|
| 24 Dec 2011 05:24 PM |
| I'm terrible at mathmatic functions. Thanks >.< I don't know what I would do without this forum. |
|
|
| Report Abuse |
|
|