home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Corrida / PMGRacing.swf / scripts / DefineSprite_374 / frame_23 / DoAction.as
Encoding:
Text File  |  2001-07-07  |  506 b   |  34 lines

  1. tellTarget("_level0")
  2. {
  3.    started = "1";
  4.    play();
  5. }
  6. if(eval("/:car") eq "buggy")
  7. {
  8.    tellTarget("/car/cars/sound_buggy")
  9.    {
  10.       nextFrame();
  11.    }
  12. }
  13. if(eval("/:car") eq "hotrod")
  14. {
  15.    tellTarget("/car/cars/sound_hotrod")
  16.    {
  17.       nextFrame();
  18.    }
  19. }
  20. if(eval("/:car") eq "hummer")
  21. {
  22.    tellTarget("/car/cars/sound_hummer")
  23.    {
  24.       nextFrame();
  25.    }
  26. }
  27. if(eval("/:car") eq "hovercraft")
  28. {
  29.    tellTarget("/car/cars/sound_hovercraft")
  30.    {
  31.       nextFrame();
  32.    }
  33. }
  34.