@DATABASE GRAC V2 TUTORIAL
@$VER 1.0 (3/6/97) © 1997 Andy Gibson
@node main "GRAC COMMANDS - MISCELLANEOUS COMMANDS"

      Here  is a listing of the GRAC 2 miscellaneous commands.  As usual,
      I'll give some help with the tricky to understand commands....

      Don't  forget  that after typing most of the commands, simply press
      the  Help  key on your keyboard to make easy selections.  This only
      works for some commands though :(


      @{i}MISCELLANEOUS COMMANDS@{ui}
      ~~~~~~~~~~~~~~~~~~~~~~


      @{b}LOAD ROOM@{ub} @{i}(room) (point)@{ui}
      Loads  a  room (which you created earlier in the GRAC editor).  The
      point  is  used to tell GRAC at which point the character should be
      standing at.


      @{b}SCALE@{ub} @{i}(percentage)@{ui}
      This  will  make  all  characters  in  a  room  the same size.  The
      percentage  must  be  smaller  than  100  for this command to work.
      Please  read  your  manual  (page  19)  for more details about this
      command in general.


      @{b}PERSPECTIVE@{ub} @{i}(floor) (horizon)@{ui}
      Use  this  in  a  startup  script  of any room to turn on character
      scaling.   After typing the command, press help and simply click on
      the  floor of your room and then the horizon.  This will allow your
      character  to  get  smaller  as  he walks into the distance :) This
      command  is  great and one which should be used as often as you can
      to give great effects. See your manual for a brief definition.


      @{b}STATIC@{ub} @{i}(foreground object)@{ui}
      If  you  have  a lot of objects on a screen, use this command (then
      press  Help)  and choose the objects.  This will help speed up your
      game. Again, see manual for an explanation as to why you should use
      this command.


      @{b}CLOSE UP@{ub} @{i}(close up)@{ui}
      This  will  begin  a close up which you have set up from within the
      GRAC editor earlier.


      @{b}EXIT CLOSE UP@{ub}
      Simply exit from the close up. What more needs to be said?


      @{b}CHOICE@{ub} @{i}(string) (flag)@{ui}
      This   command   is   used  to  create  conversations  between  two
      characters.   Multi-choice  questions/answers  will be shown on the
      control  panel  from  which to choose from when you use the command
      below.   It's  best  if  I  show you how to do this in the tutorial
      rather than explaining it all here. So go check it out...


      @{b}CHOOSE@{ub} @{i}(flag) (character)@{ui}
      Used  with the above command, this is the one which actually prints
      the  messages  onto the control panel.  Again, please check out the
      tutorial for a better idea on how to use this command.


      @{b}SET FLAG@{ub} @{i}(flag) (value)@{ui}
      Get  used  to  this  command  as  you  will  use  this  quite a lot
      throughout  the scripting of your game.  It simply alters the value
      of the given flag.


      @{b}CLEAR FLAGS@{ub} @{i}(first) (last)@{ui}
      Another  useful  command  that comes in handy (maybe), but not used
      too much.  It simply resets the flags from the first to last to the
      value of zero.


      @{b}TOGGLE FLAG@{ub} @{i}(flag)@{ui}
      If  the  flag  is  zero, its value will be set to one.  If it has a
      value greater than zero, then it will be reset to zero.  Useful for
      checking door flags etc. maybe?


      @{b}RANDOM@{ub} @{i}(flag) (limit)@{ui}
      Use this to set the flag to a random number which is set within the
      limit.   If  you  set  the value of limit to a negative number, the
      value returned by this command can be either negative or positive!


      @{b}ADD@{ub} @{i}(flag) (value)@{ui}
      Adds  the  value to the given flag.  Simple and one which you might
      use often. (although I usually prefer to use the SET FLAG command).


      @{b}SUBTRACT@{ub} @{i}(flag) (value)@{ui}
      Similar to the above command obviously.


      @{b}FLAG TO STRING@{ub} @{i}(string) (flag)@{ui}

      and also

      @{b}SET STRING@{ub} @{i}(string a) (string b)@{ui}
      These  are  used to alter strings in the game and are probably best
      described in the manual (pages 20 & 21). I've never found a need to
      use these commands, but maybe you will. (although I doubt it :)


      @{b}CLEAR STRING@{ub} @{i}(string)@{ui}
      The  string  is cleared, but please see the note on page 21 of your
      manual  about  important  saving  game  information  regarding this
      command.


      @{b}ADD STRING@{ub} @{i}(string a) (string b)@{ui}
      String A is appended to string B.  Again, please see your manual for
      important  info  on  this  command's  limits  when  saving  a game's
      position.


      @{b}SAVE OFF@{ub}
      Great  command  which  can  be  used to stop the saving of games at
      particular  points in your game.  The user will not be able to save
      any games when this command is called.


      @{b}SAVE ON@{ub}
      Opposite of above - I won't say anymore :^P


      @{b}VERB OFF@{ub}
      Stops  the  verb  from being  used!  Again, this command I've never
      found  a  use  for,  so  it's up to you to decide whether your game
      requires it or not.


      @{b}VERB ON@{ub}
      Doh!


      @{b}RESTART@{ub}
      Start  your  game  from  the  very  beginning again!  Useful if the
      player has been killed or simply died from old age (hehehehe).


      @{b}QUIT@{ub}
      Doh! I wonder.....



      There  are  some  other  obsolete commands listed in your manual on
      page  22.   I  won't list them here because there is no need to use
      any of them at all. Have a read through your manual from pages 8 to
      21 a couple of times to fully understand what each command does.

@endnode
