User manual

F4-BMS 2.0 Technical Manual
for the duration.
"WaitPrint <time> <string>"
Functions identically to "Print" except that the
execution does not advance to the next
command until <time> has expired.
"WaitInput <time> <callback/command>"
Pauses execution of the script until the
command or the callback specified is executed
by the user. <time> is the amount of time to
wait for the input. If the function times out, it it
returns false.
"Wait <time>"
Pauses execution of the script until the specific
<time> expires
"WaitMouse <time> <float (targetx)> <float
(targety) > <float (distance)>
Pauses execution of the script for <time>
duration or until the user moves the mouse
cursor within <float (distance)> of the screen
coordinates of <float (targetx)> and <float
(targety)>. If the function times out, it returns
false.
"WaitSoundStop <time>"
Pauses execution of the script for <time>
duration or until the last sound executed by
"Sound" stops playing. If the function times
out, it returns false
"WaitSound <string>"
Plays the sound specific by <string> in .wav
format. Execution of the script pauses until the
sound finishes playing.
"Sound <string>"
Plays the sound specific by <string> in .wav
format. Execution of the script continues while
the sound plays.
"EndSection"
This function can be used to end a section. If
there is any previous function on the call stack
(generally created by using the "call" function),
then execution will return to the instruction
immediately after the "call" when "EndSection"
is encountered. If there is nothing on the call
stack, this line is ignored.
"EndScript" Immediately ends the script
"Block <command/callback> ..."
Blocks the system from recognizing any
commands or callbacks listed as arguments.
153