badfitz67
|
  |
| Joined: 03 Jun 2010 |
| Total Posts: 13165 |
|
|
| 31 Aug 2016 04:59 PM |
Yes; I know you can set properties by putting them into a table. But that's quite a lengthy process, especially if it has a lot of properties.
Is there some sort of way I can automatically put the properties of an object into a table?
All these questions have driven me into existential angst and I find myself beginning to question myself and my motives |
|
|
| Report Abuse |
|
|
|
| 31 Aug 2016 05:00 PM |
| i dont think you can get all the properties since the metatable for the objects are locked |
|
|
| Report Abuse |
|
|
badfitz67
|
  |
| Joined: 03 Jun 2010 |
| Total Posts: 13165 |
|
|
| 31 Aug 2016 05:01 PM |
:((
All these questions have driven me into existential angst and I find myself beginning to question myself and my motives |
|
|
| Report Abuse |
|
|
|
| 31 Aug 2016 05:03 PM |
yea sorry buddy
if the metatable was unlocked you could get every single property or function/event whatever inside of it (including functions)
for k,v in pairs(getmetatable(workspace).__index) do print(k,v) end
|
|
|
| Report Abuse |
|
|
|
| 31 Aug 2016 05:05 PM |
sorry about 'including functions' i forgot to remove it
the other way without making tables is to use http service and DECODE THE HTML for this re-make
http:// anaminus. github. io /api /class /INSERTCLASSNAME. html |
|
|
| Report Abuse |
|
|
badfitz67
|
  |
| Joined: 03 Jun 2010 |
| Total Posts: 13165 |
|
|
| 31 Aug 2016 05:05 PM |
i heard something about parsing the roblox api dump or whatever for the object but that is def overkill
All these questions have driven me into existential angst and I find myself beginning to question myself and my motives |
|
|
| Report Abuse |
|
|
KreoBox
|
  |
| Joined: 24 Aug 2016 |
| Total Posts: 356 |
|
|
| 31 Aug 2016 05:07 PM |
"i heard something about parsing the roblox api dump or whatever for the object but that is def overkill"
Hate to break it too you but not really. That is the only way to do this. |
|
|
| Report Abuse |
|
|