generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: An API to make scripting easier(Hopefully)

Previous Thread :: Next Thread 
BFFstick00 is not online. BFFstick00
Joined: 25 Oct 2010
Total Posts: 800
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 is not online. StudioTM
Joined: 06 May 2013
Total Posts: 3454
15 Jun 2015 07:45 PM
lol'd
Report Abuse
BFFstick00 is not online. BFFstick00
Joined: 25 Oct 2010
Total Posts: 800
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 is not online. xlaser23
Joined: 10 Dec 2011
Total Posts: 20341
15 Jun 2015 07:47 PM
wiki.roblox.com



Dont mind laser
Report Abuse
iSpecializinq is not online. iSpecializinq
Joined: 31 May 2015
Total Posts: 2182
15 Jun 2015 07:47 PM
hahahahahahahahhaha

am i wierd toooo?
Report Abuse
StudioTM is not online. StudioTM
Joined: 06 May 2013
Total Posts: 3454
15 Jun 2015 07:48 PM
lmfao Im dying
Report Abuse
StudioTM is not online. 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
BFFstick00 is not online. BFFstick00
Joined: 25 Oct 2010
Total Posts: 800
15 Jun 2015 07:51 PM
Might I ask what you think is hilarious?
Report Abuse
iSpecializinq is not online. iSpecializinq
Joined: 31 May 2015
Total Posts: 2182
15 Jun 2015 07:53 PM
You.

In green.
Report Abuse
SolePlayer is not online. SolePlayer
Joined: 06 May 2012
Total Posts: 481
15 Jun 2015 07:54 PM
Whats an API?
Report Abuse
BFFstick00 is not online. BFFstick00
Joined: 25 Oct 2010
Total Posts: 800
15 Jun 2015 07:54 PM
Ah. Give me a second.
Report Abuse
StudioTM is not online. StudioTM
Joined: 06 May 2013
Total Posts: 3454
15 Jun 2015 07:55 PM
OMFG LOOOOOOOOOOOL LOOLOLOLOL LMFAO LOLOL
Report Abuse
BFFstick00 is not online. BFFstick00
Joined: 25 Oct 2010
Total Posts: 800
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
SolePlayer is not online. SolePlayer
Joined: 06 May 2012
Total Posts: 481
15 Jun 2015 07:56 PM
^Lel
Report Abuse
iSpecializinq is not online. iSpecializinq
Joined: 31 May 2015
Total Posts: 2182
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
BFFstick00 is not online. BFFstick00
Joined: 25 Oct 2010
Total Posts: 800
15 Jun 2015 07:57 PM
@StudioTM Troll detected: Commencing attack
Report Abuse
StudioTM is not online. 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
SolePlayer is not online. SolePlayer
Joined: 06 May 2012
Total Posts: 481
15 Jun 2015 07:58 PM
@Studio Lmao
Report Abuse
BFFstick00 is not online. BFFstick00
Joined: 25 Oct 2010
Total Posts: 800
15 Jun 2015 07:59 PM
@iSpecializinq That is a very useful idea. I will have to add that.
Report Abuse
StudioTM is not online. 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 is not online. 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
BFFstick00 is not online. BFFstick00
Joined: 25 Oct 2010
Total Posts: 800
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
BFFstick00 is not online. BFFstick00
Joined: 25 Oct 2010
Total Posts: 800
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
BFFstick00 is not online. BFFstick00
Joined: 25 Oct 2010
Total Posts: 800
15 Jun 2015 08:03 PM
@lordrambo And here is a fix for your code:
Instance:FindFirstChild("Name", true)
Report Abuse
StudioTM is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image