|
| 31 Jan 2016 10:41 PM |
eg for index, value in next, Part do print(index, value) end
> brickcolor really red > name dong >meaningoflife 42
|
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
|
| 31 Jan 2016 10:44 PM |
| That's fetty whap. Next question, how can you iterate over a instance? |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 31 Jan 2016 10:44 PM |
| You can't, unless you know all the properties/ |
|
|
| Report Abuse |
|
|
| |
|
|
| 31 Jan 2016 10:46 PM |
I threw up in my mouth a bi.
Sounds like I'm making a big dictionary. Not me actually, Python is, with the help of github. |
|
|
| Report Abuse |
|
|
|
| 31 Jan 2016 10:48 PM |
| Speaking of github and big dict's. Cnt do you have a link to a gist or something that I could scale? Or daples |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 31 Jan 2016 10:52 PM |
Here I did it for you: pastebin dot com/F1a9yiBE |
|
|
| Report Abuse |
|
|
|
| 31 Jan 2016 10:54 PM |
| Cause that joke I slipped in their huh? Thanks how did you do this? |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 31 Jan 2016 10:54 PM |
| I already made an API dump parser like a long time ago, I just copy and pasted the API dump and set it to spit out properties that are neither hidden, locked, nor deprecated. |
|
|
| Report Abuse |
|
|
|
| 31 Jan 2016 10:56 PM |
| that sounds fun, did you make it with lua? |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 31 Jan 2016 10:58 PM |
| I made one with Lua, but since then I made one with something else. |
|
|
| Report Abuse |
|
|
|
| 31 Jan 2016 10:59 PM |
Your like the scrubbing bubbles of roblox. 'We work hard so you don't have to'
Hoping to do something really neat with this. who cares tho |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 31 Jan 2016 11:00 PM |
| I wouldn't call it hard, 32 lines do most of the work, the rest is setup and crap. |
|
|
| Report Abuse |
|
|
|
| 31 Jan 2016 11:08 PM |
| cnt the humble. I really need to get to bed so stop enabling me by posting |
|
|
| Report Abuse |
|
|
|
| 31 Jan 2016 11:43 PM |
| checkplate, if you are interested, you can find a model in my models which contains a table of data which already does what you are wanting to do. |
|
|
| Report Abuse |
|
|
| |
|