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: How do i add parameters to an event triggered function

Previous Thread :: Next Thread 
SnowyKirby is online. SnowyKirby
Joined: 15 Jan 2013
Total Posts: 68009
12 Jun 2017 11:16 PM
or is this not possible


Report Abuse
Jonah13249 is not online. Jonah13249
Joined: 09 Oct 2009
Total Posts: 2105
12 Jun 2017 11:20 PM
It's possible.

Ex:

function onTouch(parameter)
--code
end

Part.Touched:connect(onTouch)

The parameters are after the function in parenthesis.
Report Abuse
SnowyKirby is online. SnowyKirby
Joined: 15 Jan 2013
Total Posts: 68009
12 Jun 2017 11:23 PM
ok not what i was looking for but i figured it out
ty tho


Report Abuse
Jonah13249 is not online. Jonah13249
Joined: 09 Oct 2009
Total Posts: 2105
12 Jun 2017 11:25 PM
I may have not understood it and thought your question was a bit vague. Sorry.
Report Abuse
SnowyKirby is online. SnowyKirby
Joined: 15 Jan 2013
Total Posts: 68009
12 Jun 2017 11:27 PM
its fine u had the right idea
it was just a wierd request


Report Abuse
MidasTouched is not online. MidasTouched
Joined: 02 Dec 2016
Total Posts: 242
13 Jun 2017 12:33 AM
Yeah I think op was asking about bindable/remote events
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