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: Aside from the new limited face...

Previous Thread :: Next Thread 
TextSoaked is not online. TextSoaked
Joined: 04 Sep 2015
Total Posts: 1040
29 Nov 2015 11:56 AM
Is there anyway to connect functions for multiple buttons via a for loop?

Something like this line with in a loop...
v.MouseEnter:connect(tweenSelect(v, false, "enter"))

But it keeps giving me an error: Attempt to connect failed: Passed value is not a function
I think it may be because I cannot have arguments for the function in a connect line :/

Help?
Report Abuse
litawolf is not online. litawolf
Joined: 26 Feb 2013
Total Posts: 396
29 Nov 2015 12:00 PM
huh

what are you trying to accomplish

➳Lɪᴛᴀʟᴇʟᴀ ɪs ᴍʏ ɴᴀᴍᴇ, Lᴜᴀ ɪs ᴍʏ ɢᴀᴍᴇツ
Report Abuse
Crazy010517 is not online. Crazy010517
Joined: 17 Sep 2011
Total Posts: 1161
29 Nov 2015 12:00 PM
v.MouseEnter:connect(function()
tweenselect(v,false,"enter")
end)
Report Abuse
wonderful72pike is online. wonderful72pike
Joined: 13 Jul 2010
Total Posts: 7009
29 Nov 2015 12:02 PM
^^^^^

The problem was you weren't passing in a function object, you were passing in a call to a function.
Report Abuse
OzzyFin is not online. OzzyFin
Joined: 07 Jun 2011
Total Posts: 3600
29 Nov 2015 12:20 PM
v.MouseEnter:connect(tweenSelect,v, false, "enter")
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