|
| 06 May 2013 04:50 PM |
I cannot stand the fact that we can't make custom methods for Roblox objects. So, I was thinking of solutions to the issue, and wanted to share one of them with you guys. What if Roblox allowed us to add custom methods to its method library? (Or whatever the name of the place methods are stored in)
Are there any issues with that idea? Or am I completely off track? |
|
|
| Report Abuse |
|
|
|
| 06 May 2013 04:51 PM |
| There is a way... I think Jobro knows... |
|
|
| Report Abuse |
|
|
|
| 06 May 2013 04:53 PM |
:O Jobro, share this information and (or) sorcery! |
|
|
| Report Abuse |
|
|
|
| 06 May 2013 05:15 PM |
| lolno. There isn't any way to actually add methods to an instance, but you can override instances with a new userdata and add methods and stuff to that. |
|
|
| Report Abuse |
|
|
|
| 06 May 2013 05:31 PM |
Anyone who thinks this is possible or believes it should be clearly doesn't understand anything about object-oriented programming.
_________________________________________________________________________ Twitter: https://twitter.com/MarkOtaris |
|
|
| Report Abuse |
|
|
toshir0z
|
  |
| Joined: 03 Nov 2009 |
| Total Posts: 425 |
|
|
| 06 May 2013 05:48 PM |
| @Color *Cough* Metatables *Cough* |
|
|
| Report Abuse |
|
|
|
| 06 May 2013 05:54 PM |
| You can reprogram instance and add methods... It doesn't so much "add" Methods or events or whathaveyou, but it functions like it does. It is quite simple to accomplish actually... |
|
|
| Report Abuse |
|
|
booing
|
  |
| Joined: 04 May 2009 |
| Total Posts: 6594 |
|
|
| 06 May 2013 05:55 PM |
._. Allowing methods would open up so many exploits and it's needless. |
|
|
| Report Abuse |
|
|
|
| 06 May 2013 06:09 PM |
| @booing... not if they do it correctly... It is pointless to use the metatable method though because you can't use it on already existing objects, and it is less efficient to do it that way. |
|
|
| Report Abuse |
|
|
|
| 06 May 2013 07:49 PM |
BindableFunctions? Idk.
~This sig is false~ |
|
|
| Report Abuse |
|
|
|
| 06 May 2013 07:51 PM |
@Booing Okay, could you explain your point a little better?
@Colorful Sorry, I thought he found a superhaxy way. |
|
|
| Report Abuse |
|
|