The Jedi Academy. THE Place for Jedi training.
Forums
Content
The Academy
Learn
Communicate
Personal


Forums | Jedi Knight 2 Discussion
wait - scripting
Apr 21 2025 02:24am

Trad Redav
 - Student
Trad Redav
i've got a question for all those scripters...



if i have wait 10, is that 10 seconds or 10 milliseconds?


i'm pretty sure it's milli...
_______________
Well then. Just so you know, just because I don't post often doesn't mean I don't lurk this place multiple times every day...

This post was edited by Trad Redav on Jan 05 2003 06:20pm.

  Login and add your comment!  
Comments
Jan 22 2003 12:05pm

Aeth S'kray
 - Retired
 Aeth S'kray

DJ, i meant not to show a whole script... because i clever guy could just change some things and HAVE a move bind :)
on the other hand, we need some scripters (*waves to chosen*) so i guess, just go ahead talking ^_^

but er... i think there is already a command to take X screenshots per second
cl_avidemo X
:)
_______________
Aeth S'kray *June 2002 +September 2003

Jan 20 2003 10:28pm

JA > Yun
 - Student
 JA > Yun

mp scripting JavaGuy
_______________
Bringing newbies closer to perfection since 1998.

Jan 18 2003 06:33pm

JavaGuy
 - Student
 JavaGuy

Are we talking about multiplayer scripts or ICARUS scripts in SP?


_______________
My signature is only one line. You're welcome.

Jan 07 2003 10:01pm

JA > Yun
 - Student
 JA > Yun

The wait command is stand-alone
There is no variable, but rather a constant between for it... ONE TICK OF THE GAME
so the things we don't see set the wait command like so:
wait=ONE TICK OF THE GAME

only in coder language, maybe cHoSeN-oNe can expand on this :D
_______________
Bringing newbies closer to perfection since 1998.

Jan 06 2003 02:43pm

Trad Redav
 - Student
 Trad Redav

huh. i was sorta thinking of a command that took 30 screenies every second (the uneducated way to .roq files :)) something like

bind x "set whatever screenshot; wait 0.333; screenshot; wait 0.333" ect ect...
then bind y key to whatever
bind z "bind x set whatever somethingelse"


:confused:
_______________
Well then. Just so you know, just because I don't post often doesn't mean I don't lurk this place multiple times every day...

Jan 06 2003 02:34pm

DJ Sith
 - Jedi Council
 DJ Sith

Nah so long as hes not asking how to script moves I'm cool with it. :)
_______________
My car is made of Nerf.

Jan 06 2003 01:15pm

Aeth S'kray
 - Retired
 Aeth S'kray

and please dont post something here about scripting, it is far too easy to cheat with it :)
_______________
Aeth S'kray *June 2002 +September 2003

Jan 05 2003 07:30pm

JA > Yun
 - Student
 JA > Yun

Oh yeah, I forgot to mention that the wait command is best left unused... Just because it's meant... Well look at this:

vminfo
wait
Description: Can be used in scripts to pause for one 'tick' of the game. Generally not encouraged even in complex scripts.

Usage:
In a config file: wait
In the console: /wait

Since the 'tick' of the game is unreliable, just don't bother using it... It also cannot be used for a timer thing... trust me
_______________
Bringing newbies closer to perfection since 1998.

Jan 05 2003 07:27pm

JA > Yun
 - Student
 JA > Yun

The "wait" command plays directly off your game speed, so if you have a really fast running game, the wait command is pretty usless, but on a slower machine, it would wait according, there is no really set time, because game speeds change all the time
_______________
Bringing newbies closer to perfection since 1998.

  Login and add your comment!