Wolfenstein Enemy Territory

Learn Wolfenstein ET from the Inside Out!

TwitterMy ImageMy Image
admin On March - 25 - 2010
Wolfenstein ET: What is the Wait command for
Wait gives you the ability to make a 1fps break between 2 commands. This is usually only needed if your commands launch to short after eachother, which means the 2nd wont launch.

If you want to put like a 100 waits after eachother you don’t type wait x100. You just type wait 100.

example: bind k “kill; wait 100; echo i just killed myself.”

Beware! When the wait command is active your current action will remain used. So if you are pressing R to reload while the wait command gets triggered, it will keep wanting to reload until all wait commands are done.

This means the wait command isn’t a good method or fix for a delay in scripts. Unfortunately actually, it would be very useful if there was an alternative that didn’t keep the commands running.
It is still a good thing though, for example when you want to create a script that makes you run for several seconds, you can use this wait command.

Also notice the duration of wait can be different depending on how many frames per second you have. So better make sure your fps is either stable or you put a cap on it while running a script with wait. (just add a com_maxfps 43 for example in the scriptline)

Next Chapter

Be the first to like.

GD Star Rating

What is the Wait Command for?, 5.0 out of 5 based on 2 ratings

Categories: Featured, Scripting Guide

About Us

This is the unofficial site of Wolfenstein Enemy Territory. You will be able to find resources like cool screenshots and configs here, but also tutorials to get the maximum out of your game. If there is anything you wish to ask or if you have any advice... Just post a comment on an article or contact us through the Contact form. V57!

Recent Comments