|
|
Wait command explained Difficulty: Intermediate |
| Category: CS:S > Scripting | Author(s): J2K |

Wait; - Stops command parsing until the next frame.
The number of wait commands you use is the number of frames it will wait until the next command is passed.
To calculate the length of your wait commands in seconds, divide the number of waits by your frames per second.
s = w / f
s is the time in seconds
w is the number of wait commands
f is the average frames per second
Below is an example using 5 wait commands with a frame rate of 100:
s = 5 / 100
s = 0.05
Therefore 5 wait commands at 100 frames per second is a 0.05 second wait.
Hope this helps people understand how to use this command (:
Jay.
Information from Counter-Strike.com |
| Added: 1 year ago | Tags: wait, command |
 Add Feedback Provide constructive feedback. What is "constructive"?You cannot post yet!Get involved on FPSB by posting your thoughts. Give authors your feedback to help them develop. To post in this submission register or login. |
 You cannot assess yet!Moderating FPSB is in your hands - when you assess a submission your vote determines its success or failure. To vote on this submission register or login. This Tutorial in a nutshell... Useful & Helpful 1 x Useful 1 x Helpful You cannot stamp yet!Stamps let you apply characteristics to submissions to help others understand them. To stamp this submission register or login.
 |
Sabotage Studios Originality, Creativity, Simplicity |
| Membership: On Request |
| Primary Skills: ? |
| Inception: 2 years ago |
Want more? Find related tuts. |