|
| 15 Jun 2015 07:42 PM |
| I need ideas for an API, something that will make scripting easier. Name something you had a difficult time with and that can be summed up in a function that doesn't already exist. For some people it is DataStores & others it is doing advanced things like C API. If you have an idea or the source of a piece of requested code. Thank you in advance. |
|
|
| Report Abuse |
|
|
StudioTM
|
  |
| Joined: 06 May 2013 |
| Total Posts: 3454 |
|
| |
|
|
| 15 Jun 2015 07:47 PM |
| So attempting to revolutionize the way people script is funny? You have a weird sense of humor. |
|
|
| Report Abuse |
|
|
xlaser23
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 20341 |
|
|
| 15 Jun 2015 07:47 PM |
wiki.roblox.com
Dont mind laser |
|
|
| Report Abuse |
|
|
|
| 15 Jun 2015 07:47 PM |
hahahahahahahahhaha
am i wierd toooo? |
|
|
| Report Abuse |
|
|
StudioTM
|
  |
| Joined: 06 May 2013 |
| Total Posts: 3454 |
|
| |
|
StudioTM
|
  |
| Joined: 06 May 2013 |
| Total Posts: 3454 |
|
|
| 15 Jun 2015 07:48 PM |
| im not actually dying of course but this is just too funny lmfao |
|
|
| Report Abuse |
|
|
|
| 15 Jun 2015 07:51 PM |
| Might I ask what you think is hilarious? |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
StudioTM
|
  |
| Joined: 06 May 2013 |
| Total Posts: 3454 |
|
|
| 15 Jun 2015 07:55 PM |
| OMFG LOOOOOOOOOOOL LOOLOLOLOL LMFAO LOLOL |
|
|
| Report Abuse |
|
|
|
| 15 Jun 2015 07:56 PM |
@Sole it's a list of functions called from a library(or in roblox terms a ModuleScript). Math is an API so you can do stuff like: math.random(1, math.huge()) |
|
|
| Report Abuse |
|
|
| |
|
|
| 15 Jun 2015 07:57 PM |
Ah there.
Im already working on ssomething of my own but i have a few ideas.
-Recursive find humanoids (all of them) in a game -Count parts -Loop through tables easily -Search by name recursivly -Search by class recursivly |
|
|
| Report Abuse |
|
|
|
| 15 Jun 2015 07:57 PM |
| @StudioTM Troll detected: Commencing attack |
|
|
| Report Abuse |
|
|
StudioTM
|
  |
| Joined: 06 May 2013 |
| Total Posts: 3454 |
|
|
| 15 Jun 2015 07:58 PM |
| HAHAHAHAHAHAHA OMFG oh btw can you make a function to makes functions easier that call functions inside of thoughs functions and set the function as the function inside of that function? |
|
|
| Report Abuse |
|
|
| |
|
|
| 15 Jun 2015 07:59 PM |
| @iSpecializinq That is a very useful idea. I will have to add that. |
|
|
| Report Abuse |
|
|
StudioTM
|
  |
| Joined: 06 May 2013 |
| Total Posts: 3454 |
|
|
| 15 Jun 2015 08:00 PM |
| Why would you make different things to find recursively? Just make one function to search for a certain item like find(item) I've done it multiple times, also why make that easier? its so simple already |
|
|
| Report Abuse |
|
|
lordrambo
|
  |
| Joined: 16 Jun 2009 |
| Total Posts: 20628 |
|
|
| 15 Jun 2015 08:01 PM |
"-Search by name recursivly" Instance.FindFirstChild("Name", true) I don't know how you intend to loop through tables any easier than you can already. Most of that stuff seems like pretty rudimentary recursion. |
|
|
| Report Abuse |
|
|
|
| 15 Jun 2015 08:01 PM |
@StudioTM Let me explain. Would you rather: A. Use the classic way B. Use a function Example lets say we had a function called pickrandominlist(): spmt.pickrandominlist(list) or use: list[math.random(1, #list)] That is not much of an example but it is one. |
|
|
| Report Abuse |
|
|
|
| 15 Jun 2015 08:03 PM |
| @lordrambo I believe he means through all the everything in a location kind of like the batch command tree. |
|
|
| Report Abuse |
|
|
|
| 15 Jun 2015 08:03 PM |
@lordrambo And here is a fix for your code: Instance:FindFirstChild("Name", true) |
|
|
| Report Abuse |
|
|
StudioTM
|
  |
| Joined: 06 May 2013 |
| Total Posts: 3454 |
|
|
| 15 Jun 2015 08:04 PM |
| omfg im laughing so hard right now, why shorten something that's already simple to begin with? |
|
|
| Report Abuse |
|
|