Main
Projects
Art
Music
Scripting
LiveJournal
Forum
Links
Fake Movie
by James `SPAM Man' Paige

Have you ever wanted to put an FMV into your OHR game? Well, you can't, but this is as close as you'll get. To use it, you'll need to have your movie's "frames" as consecutively numbered backdrops (1, 2, 3, etc.) in your RPG file.


#--------------------------------------------------------
# script for showing a series of successive backdrops
# like an animation sequence. To use this, copy and paste
# it into your script, or save it as a separate file and
# "include" it. You call it with three arguments.
# fake movie(firstframe, lastframe, delay)
# where firstframe is the backdrop to start with,
# lastframe is the frame to end on, and delay is the
# number of ticks to wait between frames (default is 2)

define script(autonumber,fake movie,3,0,0,2)

script, fake movie, firstframe, lastframe, delay, begin
  variable(n)
  for(n, firstframe, lastframe)
  do,begin
    show backdrop(n)
    wait(delay)
  end
end

#--------------------------------------------------------

Site layout (c)2000 Jennifer Raby. Used by permission.