making a bind or exec wait

General Discussion about Medal of Honor: Allied Assault and Pacific Assault.

Moderator: Moderators

Post Reply
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

making a bind or exec wait

Post by lizardkid »

i'm stumped, i'm just trying to learn how to make a console-exec't script to wait before it exec's a command, so far it's ignored my commands of wait, and wait 1, delay isnt available from console, etc.

it's just a simple one. just learning how to make exec scripts from console.

Code: Select all

//scripts/execTest.scr
//for testing consoel exec's.
start:

say Stage one.
wait
wait 1
say Stage two.
it snaps off the two say commands instantly.

i'm using the console command exec scripts/execTest.scr

any ideas?
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
User avatar
hogleg
General
Posts: 1577
Joined: Tue Sep 09, 2003 5:23 pm
Location: Down South Hillbilly Country

Post by hogleg »

not a clue :P

exec \"file.cfg\"
- execute commands in file.cfg
"all the governments in the world are corrupt and in the hands of the Illuminati"
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Console wait is in millisecs, so try wait 1000. Note that you won't be able to move during the wait, though.
Image
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

thats bad, is there any console command i could use to act as a script wait? just delay a command?
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
Post Reply