- News
  - Archives
  - Site Info
  - Mirage

Game Play:
  - Tips
  - Tricks
  - Moves
  - Cheats
  - Fun

Game Tech:
  - Playing
  - Oni Works
  - AI Dev

Dev Shed:
  - Script Lib
  - Sepics
  - Tool Kit
  - Downloads

  - Board
  - Links
  - Contests

Directory: Technical >> Script Lib >> Advanced >> Objects.


There are quite a few object functions. They are not that hard. An object is defined by two numbers: object1 and object2 (id and flag numbers).


To create a new object, use the function:

   obj_create [object1] [object2]


You can find object numbers in the original IGMD. You can also delete objects by:

   obj_kill [object1] [object2]

Show and Hide:

If you want to show/hide an object you use:

   obj_[show/hide] [object1] [object2]

Force Draw:

To force an object to be drawn you use (make it visible during all animations):

   obj_force_draw [object1] [object2]

© 2001-2004 by Oni Master. All rights reserved.
We are not affiliated with Bungie Studios nor Rockstar Games.