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: Can i have a list of functions ?

Previous Thread :: Next Thread 
MutinyLeagueBase is not online. MutinyLeagueBase
Joined: 27 Jul 2012
Total Posts: 40
26 Dec 2012 11:23 AM
Here is my list you can add on to it

Im excluding parenthese cuz im lazy :)

function ontouched
function onclicked
function player respawned
while true do
if and then
(Can you add anymore ?
Report Abuse
FreeToTake is not online. FreeToTake
Joined: 21 Apr 2010
Total Posts: 1827
26 Dec 2012 11:24 AM
Those are not functions. And I have never heard of ontouched and onclicked and player respawned.
Report Abuse
MutinyLeagueBase is not online. MutinyLeagueBase
Joined: 27 Jul 2012
Total Posts: 40
26 Dec 2012 11:27 AM
then what are these ? cuz roblox wiki says all these ? are they just statements ?
Report Abuse
noah is not online. noah
Joined: 11 Sep 2006
Total Posts: 18977
26 Dec 2012 11:32 AM
They are called events.
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
26 Dec 2012 11:50 AM
Functions are just variables.

function ontouch()
end


That's the same as:


ontouch = function()
end


Your function can be named anything you want, within valid variable names. You can have a function named HUGGBUGGFLAB243721396498 if you wanted.

if-then, while-do, for-do, repeat-until are all flow blocks. They define the flow of your script. Look up program flow if you want to learn more, as I don't want to go into specifics in this post.

Short answer: technically, none of those are functions. Those are just common names people give to functions.
Report Abuse
TheAwesomenessDude is not online. TheAwesomenessDude
Joined: 17 Jul 2011
Total Posts: 11602
26 Dec 2012 12:00 PM
print() is a function, nothing you listed though.
Report Abuse
TheAwesomenessDude is not online. TheAwesomenessDude
Joined: 17 Jul 2011
Total Posts: 11602
26 Dec 2012 12:02 PM
Well print() is a built-in function, pretty much anything can be a function.
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