home *** CD-ROM | disk | FTP | other *** search
/ Classic Fond 52 / ClassicFond52.iso / GAMES / DROIDW.RAR / DWCD.GOB / mission_cog_b0_numberset.cog < prev    next >
Encoding:
Text File  |  1998-11-04  |  951 b   |  51 lines

  1. # Droids Cog Script
  2. #
  3. # b0_Numberset.cog
  4. #
  5. # Sets a Number Texture CEL to specificed Cel. Kinda Lame.
  6. #
  7. # Desc:
  8. #    Surfaces assigned to a surf_ will have their cel set to the value of num_ on startup. 
  9. #    Used to permanently set a cel to a frame other than 0. Created to be used on "numbers.mat" 
  10. #
  11. # 10/28/97 [DGS] Created
  12. #
  13. # ========================================================================================
  14.  
  15. symbols
  16.  
  17. message     startup
  18.  
  19. surface    surf_a0
  20. surface    surf_a1
  21. surface    surf_b0
  22. surface    surf_b1
  23. surface    surf_c0
  24. surface    surf_c1
  25.  
  26. int        num_a=0
  27. int        num_b=0
  28. int        num_c=0
  29.  
  30. end
  31.  
  32. # ========================================================================================
  33.  
  34. code
  35.  
  36. startup:
  37.     //    Sets it yup
  38.  
  39.     SetWallCel(surf_a0, num_a);
  40.     SetWallCel(surf_a1, num_a);
  41.     
  42.     SetWallCel(surf_b0, num_b);
  43.     SetWallCel(surf_b1, num_b);
  44.  
  45.     SetWallCel(surf_c0, num_c);
  46.     SetWallCel(surf_c1, num_c);
  47.  
  48.     return;
  49. end
  50.  
  51.