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: Any way to do wait(1.5/30)?

Previous Thread :: Next Thread 
yomamadude6 is not online. yomamadude6
Joined: 21 Nov 2009
Total Posts: 2151
21 Apr 2013 12:14 AM
Making guns and only having 900 and 600 RPM to choose from is annoying.
Report Abuse
UnBuild is not online. UnBuild
Joined: 22 Mar 2013
Total Posts: 3233
21 Apr 2013 12:17 AM
I believe 0.03 is the shortest time
Report Abuse
yomamadude6 is not online. yomamadude6
Joined: 21 Nov 2009
Total Posts: 2151
21 Apr 2013 12:20 AM
Which is 1/30, :( , so sad.
Report Abuse
UnBuild is not online. UnBuild
Joined: 22 Mar 2013
Total Posts: 3233
21 Apr 2013 12:25 AM
Why is that sad?
1.5 / 30 = 0.05 > 0.03
Report Abuse
BJCarpenter is not online. BJCarpenter
Joined: 04 Nov 2008
Total Posts: 4416
21 Apr 2013 12:27 AM
yeah,

u prolly don't want a wait().

You r asking the comp to abandon your script, go off, serveice any-other script which is running, refresh the screen, then come back, and pick-up the thread of the conversation.....

Maybe, instead, u should do something, like fire another shot, 4 pixels behind the first one, or draw some awesome graphics; muzzle Flash; shrapnel; smoke; have the gun kick-back; or something; no?

Report Abuse
UnBuild is not online. UnBuild
Joined: 22 Mar 2013
Total Posts: 3233
21 Apr 2013 12:30 AM
wait() is wait(0.029999999) aka 0.03
But wait() can be edited per player in your ROBLOX settings, and cause errors
Report Abuse
yomamadude6 is not online. yomamadude6
Joined: 21 Nov 2009
Total Posts: 2151
21 Apr 2013 12:50 AM
My problem is that only wait(1/30) and wait(2/30) do their correct times. If you do wait(1.5/30), then it does wait(1/30) instead.
Report Abuse
yomamadude6 is not online. yomamadude6
Joined: 21 Nov 2009
Total Posts: 2151
21 Apr 2013 12:51 AM
@BJC

wut?
Report Abuse
IamAwesome777 is not online. IamAwesome777
Joined: 18 Jul 2011
Total Posts: 2640
21 Apr 2013 01:47 AM
wait() can vary depending on the server's/client's CPU speed, what other programs are running, how much free RAM you have, etc. It is normally around 0.03 seconds but can be different depending on those variables listed.

☺ IamAwesome777 ☺
Report Abuse
Fredfishy is not online. Fredfishy
Joined: 21 Mar 2009
Total Posts: 4197
21 Apr 2013 01:58 AM
Have it fire twice every 1/30 seconds?
Report Abuse
yomamadude6 is not online. yomamadude6
Joined: 21 Nov 2009
Total Posts: 2151
21 Apr 2013 02:34 AM
^That would produce some noticeably odd effects
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