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

Perhaps you were expecting one script or maybe even two. Here are THREE quake scripts. Choose the one that fits your situation best.



include, plotscr.hsd

define script(autonumber,quake while waiting,1,1)
define script(autonumber,quake while waiting for hero,1,me)
define script(autonumber,quake while waiting for NPC,1,0)

script,quake while waiting,ticks,begin
  variable(i)
  for(i,0,ticks),do,begin
    pan camera(random(0,3),1,random(1,5))
    wait(1)
  end
end

script,quake while waiting for hero,who,begin
  while(hero is walking(who)),do,begin
    pan camera(random(0,3),1,random(1,5))
    wait(1)
  end
end

script,quake while waiting for NPC,who,begin
  while(NPC is walking(who)),do,begin
    pan camera(random(0,3),1,random(1,5))
    wait(1)
  end
end

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