scripting question


(Shiznit) #1

whats the command to wait for 5 seconds?
eg: “echo yadda yadda; pause for 5 seconds; echo yadda yadda”

if its “wait 500”…it screws the game up…anyone know?


(Agrado) #2

‘sleep 5’ i expect


(Majin) #3

the only way to wait is the wait command. The wait command is very weird though, it waits for a certain number of frames. So when you have higher fps, the wait will be shorter, and at lower fps the wait will be longer.

If you can say, keep a steady 50 fps, you could use /com_maxfps to keep your fps right at 50, making wait 100 = 1 second.

Since 43 fps also helps your jumping, I suggest this value, and trying to get ET to keep that value at all times. Then its just a bit of simple math to calculate the waits fairly precisely.


(Shiznit) #4

thats ghey

try typing in the console

/wait 300; echo done

u end up not being able to move/shoot/ say anything for th next 300 frames

wot sorta bs is that
:angry: :angry: :banghead: :banghead: :bash: :bash: :banghead: :banghead: :angry: :angry: :banghead: :banghead: :bash: :bash: :bash: :banghead: :banghead: :angry:


(Majin) #5

Oh ya, I forgot about that little detail=) Say, if you are strafing to the left, and you start a wait command, you continue to go left untill it ends. =(


(Shiznit) #6

ROFL

k i got another one :o

anyone heard of the command

b_banners

i’m not quite sure but i’m guessing its for a mod?


(Sauron|EFG) #7

b_ = bani (ETPro)

http://bani.anime.net/etpro/adminguide.html