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 » Scripting Helpers
Home Search
 

Re: User made functions, and return values.

Previous Thread :: Next Thread 
MainDirectory is not online. MainDirectory
Joined: 20 Dec 2012
Total Posts: 1834
27 Dec 2012 03:48 PM
Could smeone give me a brief explanation on this? My friend DoogleFox and me script together allot, and he usualy make his own functions and a paramater. Then he uses a return value in that function. What are the reasons for this. How can I do this.
Report Abuse
FreeToTake is not online. FreeToTake
Joined: 21 Apr 2010
Total Posts: 1827
27 Dec 2012 03:51 PM
function add(a, b)
return(a + b)
end)

local addition = add(5, 10)
print(addition)
-> 15
Report Abuse
MainDirectory is not online. MainDirectory
Joined: 20 Dec 2012
Total Posts: 1834
27 Dec 2012 04:17 PM
Thats allot like C++! thankyou!
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
27 Dec 2012 04:20 PM
http://www.roblox.com/Forum/ShowPost.aspx?PostID=62145553


You can read that for a beginner-level explanation. :)
Report Abuse
MainDirectory is not online. MainDirectory
Joined: 20 Dec 2012
Total Posts: 1834
27 Dec 2012 04:25 PM
Agent, you see when I was learning scripting, I skipped a couple of basic things I couldent understand. In hopes I would understand them later. So now it is very emberassing for me to go back and ask for help on these subjects. :/
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
27 Dec 2012 04:31 PM
I wouldn't call it embarrassing. You don't know what you don't know. The only way to learn is to ask.
Report Abuse
MainDirectory is not online. MainDirectory
Joined: 20 Dec 2012
Total Posts: 1834
27 Dec 2012 04:33 PM
Thats good to hear, from a scripter of your calliber.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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