Test_DEL.cpp 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. * Test_DEL.cpp
  22. *
  23. * DESCRIPTION
  24. * Denzil's test scripts
  25. *
  26. * PROGRAMMER
  27. * Denzil E. Long, Jr.
  28. *
  29. * VERSION INFO
  30. * $Author: Ryan_v $
  31. * $Revision: 4 $
  32. * $Modtime: 7/17/00 10:15a $
  33. * $Archive: /Commando/Code/Scripts/Test_DEL.cpp $
  34. *
  35. ******************************************************************************/
  36. #include "scripts.h"
  37. #include "common.h"
  38. #include "dprint.h"
  39. #include <string.h>
  40. #include <assert.h>
  41. #if 0
  42. DECLARE_SCRIPT(DEL_VehicleEnterTest, "X:float,Y:float,Z:float")
  43. {
  44. void Created(GameObject* object)
  45. {
  46. float x = Get_Float_Parameter("X");
  47. float y = Get_Float_Parameter("Y");
  48. float z = Get_Float_Parameter("Z");
  49. DebugPrint("Enter Location %.2f,%.2f,%.2f\n", x, y, z);
  50. Commands->Action_Movement_Goto_Location(object, Vector3(4.88f, -66.22f, 0.0f), 1.0f);
  51. }
  52. };
  53. #endif