MissionS04.cpp 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*
  2. ** Command & Conquer Renegade(tm)
  3. ** Copyright 2025 Electronic Arts Inc.
  4. **
  5. ** This program is free software: you can redistribute it and/or modify
  6. ** it under the terms of the GNU General Public License as published by
  7. ** the Free Software Foundation, either version 3 of the License, or
  8. ** (at your option) any later version.
  9. **
  10. ** This program is distributed in the hope that it will be useful,
  11. ** but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. ** GNU General Public License for more details.
  14. **
  15. ** You should have received a copy of the GNU General Public License
  16. ** along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. /******************************************************************************
  19. *
  20. * FILE
  21. * Mission3.cpp
  22. *
  23. * DESCRIPTION
  24. * Mission 3 script
  25. *
  26. * PROGRAMMER
  27. * Design Team
  28. *
  29. * VERSION INFO
  30. * $Author: Dan_e $
  31. * $Revision: 1 $
  32. * $Modtime: 5/02/02 4:31p $
  33. * $Archive: /Commando/Code/Scripts/MissionS04.cpp $
  34. *
  35. ******************************************************************************/
  36. #include "scripts.h"
  37. #include "toolkit.h"
  38. #include <string.h>
  39. #include <stdio.h>
  40. #include "Mission3.h"
  41. #ifdef _XBOX
  42. #include "wwhack.h"
  43. #endif
  44. DECLARE_SCRIPT(MS04_Gunboat_Waypath_Movement, "")
  45. {
  46. void Created( GameObject * obj )
  47. {
  48. ActionParamsStruct params;
  49. params.Set_Basic( this, 45, 999 );
  50. params.Set_Movement( Vector3(0,0,0), 1.0f, 3.0f );
  51. params.WaypathID = 100033;
  52. Commands->Action_Goto( obj, params );
  53. }
  54. }