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: :connect VS :Connect

Previous Thread :: Next Thread 
LoREMidnight is not online. LoREMidnight
Joined: 16 Jan 2011
Total Posts: 379
24 Jul 2017 12:50 AM
On the wiki I just saw :connect has a line through it implying that it shouldn't be used (I think), this same thing is for the Wait() and wait() script signals too. There really doesn't seem to be a difference, so why does roblox neglect one over the other?
Report Abuse
romanaisawesome is online. romanaisawesome
Joined: 25 May 2013
Total Posts: 996
24 Jul 2017 01:15 AM
roblox has been capitalizing everything, I still use connect and wait()


This siggy is classified | R$3,330
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
24 Jul 2017 01:29 AM
RbxScriptSignal.connect is deprecated in favor of Connect (they're trying to stay consistent with their naming convention).

To be fair, you could probably get away using connect instead of Connect for at least half a decade but may as well conform.
Report Abuse
LuaDesign is not online. LuaDesign
Joined: 24 May 2010
Total Posts: 1336
24 Jul 2017 02:49 AM
I always to :connect and now this crap Wait() instead of wait() and :Connect() instead of connect() what kind of witchcraft is this?
Report Abuse
LotsOfViolence is not online. LotsOfViolence
Joined: 29 Jun 2011
Total Posts: 8375
24 Jul 2017 02:54 AM
"ROBLOX is trying to make methods PascalCase, so they changed ":connect" and :disconnect" to syntactically be ":Connect" and ":Disconnect" respectively. There's no difference in how they behave, and with most ROBLOX updates in syntax, it's backwards compatible.

:Wait is an method of an event/listener/RBXScriptSignal. It waits until the event is fired. wait() is a function that simply yields the script for an input duration of time ."

- WoolHat https://forum.roblox.com/Forum/ShowPost.aspx?PostID=206447775
Report Abuse
yhatayhatahoohoo is not online. yhatayhatahoohoo
Joined: 19 Jan 2011
Total Posts: 1988
24 Jul 2017 06:02 AM
"connect" is deprecated.
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