|
| 20 Dec 2016 09:27 AM |
| is there a method like :GetChildren() but for properties? |
|
|
| Report Abuse |
|
|
| |
|
|
| 20 Dec 2016 09:35 AM |
| Is there anyway to get all the properties of an object, rather than just getting each property individually and adding that to a table |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 20 Dec 2016 09:54 AM |
Unfortunately there is no nice and "direct" way.
|
|
|
| Report Abuse |
|
|
|
| 20 Dec 2016 10:04 AM |
| I used this. I guess it couldn't be sweet, Oh well. CFrames[t.Name] = { ["CurrentAngle"] = t.CurrentAngle; ["DesiredAngle"] = t.DesiredAngle; ["MaxVelocity"] =t.MaxVelocity; ["Name"] = t.Name; ["Parent"] = t.Parent; ["Part0"] = t.Part0; ["Part1"] = t.Part1; ##### # ##### ["C1"] = t.C1; } |
|
|
| Report Abuse |
|
|
|
| 20 Dec 2016 10:04 AM |
| And Roblox filter makes it even less sweet :( |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 20 Dec 2016 10:06 AM |
You don't need brackes for complete names without spaces.
{Name = 'Part',BrickColor = 'Blah',...}
is much easier to read
|
|
|
| Report Abuse |
|
|