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: Deley With Parameters?

Previous Thread :: Next Thread 
Rukiryo is not online. Rukiryo
Joined: 04 Sep 2009
Total Posts: 1490
27 Apr 2012 08:54 PM
I know there is the delay where I can run a function, and move on to the next function, but how would I add parameters? I have the function named Glow and it needs a part in it. This is all part of my tycoon script, and everything in my tycoon runs off of 1 script. Glow needs 1 parameter, the part. How do I do this? The issue is the glow leaves a delay before the button is deactivated, and then gives time for double charging. How can I do this, please answer the question, not alternative methods. Thanks!
Report Abuse
thebigbug is not online. thebigbug
Joined: 29 Sep 2008
Total Posts: 886
27 Apr 2012 08:57 PM
coroutine?
Report Abuse
Rukiryo is not online. Rukiryo
Joined: 04 Sep 2009
Total Posts: 1490
27 Apr 2012 08:58 PM
I have
delay(0,Glow(btn))
I get the error
'delay requires 2 parameters'
How else could I do this?
Report Abuse
Rukiryo is not online. Rukiryo
Joined: 04 Sep 2009
Total Posts: 1490
27 Apr 2012 08:59 PM
Typo
'delay function requires 2 arguments'
Report Abuse
TwoBoo is not online. TwoBoo
Joined: 08 Feb 2011
Total Posts: 10790
27 Apr 2012 09:01 PM
Wiki says you don't need the function's parameters.

delay(0,Glow)
Report Abuse
thebigbug is not online. thebigbug
Joined: 29 Sep 2008
Total Posts: 886
27 Apr 2012 09:03 PM
Oh. Misunderstanding. Sorry. xD
Report Abuse
Rukiryo is not online. Rukiryo
Joined: 04 Sep 2009
Total Posts: 1490
27 Apr 2012 09:07 PM
I want a parameter. Otherwise I cannot tell it what to do -.-
Report Abuse
crazyman32 is online. crazyman32
Joined: 13 Apr 2008
Total Posts: 18027
27 Apr 2012 09:24 PM
Delay(0,function() Glow(Parameters) end)
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