|
| 19 Jun 2013 10:55 AM |
If I hold an array in a StringValue object, will I be able to convert that into an array within my script?
#TeamIllumina |
|
|
| Report Abuse |
|
|
grimm343
|
  |
| Joined: 18 Sep 2008 |
| Total Posts: 2796 |
|
|
| 19 Jun 2013 10:59 AM |
| http://wiki.roblox.com/index.php/Function_Dump/Core_Functions#loadstring |
|
|
| Report Abuse |
|
|
grimm343
|
  |
| Joined: 18 Sep 2008 |
| Total Posts: 2796 |
|
|
| 19 Jun 2013 11:00 AM |
| If I am not mistaken, you should be able to use that for this. |
|
|
| Report Abuse |
|
|
|
| 19 Jun 2013 03:38 PM |
I tried that, and didnt seem to work.
I had this in the value on the StringValue object:
{"lol","hi","wat"}
And it didnt work |
|
|
| Report Abuse |
|
|
| |
|
|
| 19 Jun 2013 03:41 PM |
loadstring("local t = "..script.Parent.StringValue.Value)() print(table.concat(t,' '))
Dat work? |
|
|
| Report Abuse |
|
|
|
| 19 Jun 2013 03:57 PM |
@Luke, no. This is the error message
Workspace.Script:6: bad argument #1 to 'concat' (table expected, got nil) |
|
|
| Report Abuse |
|
|