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
 

What are functions really used for?

Previous Thread :: Next Thread 
HarperX000 is not online. HarperX000
Joined: 02 Jun 2014
Total Posts: 156
17 Jul 2017 12:07 PM
So, I know the meaning on what it is, A block of code to be excused again and again, But what do you really wanna use this for?


function FirstFunction()
Print("AnytimeAnyWhere")
FirstFunction()
end
Report Abuse
Fangous is not online. Fangous
Joined: 03 Jul 2010
Total Posts: 4448
17 Jul 2017 12:09 PM
do u really wanna copy and paste 100+ lines of code every time you need to do said action or do you only want to call one line
Report Abuse
LaeMVP is online. LaeMVP
Joined: 24 Jun 2013
Total Posts: 4416
17 Jul 2017 12:09 PM
Pretty much everything
Report Abuse
HarperX000 is not online. HarperX000
Joined: 02 Jun 2014
Total Posts: 156
17 Jul 2017 12:09 PM
Yeah But, Put an example of how I would use this in. a game script for example like making a game
Report Abuse
systematicaddict is not online. systematicaddict
Joined: 13 Jul 2012
Total Posts: 4188
17 Jul 2017 12:10 PM
insert parameters, puke out value

less copy/paste
Report Abuse
HarperX000 is not online. HarperX000
Joined: 02 Jun 2014
Total Posts: 156
17 Jul 2017 12:11 PM
..... k
Report Abuse
systematicaddict is not online. systematicaddict
Joined: 13 Jul 2012
Total Posts: 4188
17 Jul 2017 12:14 PM
It's really the same idea as functions in Algebra
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