List general map stats.fscript 847 B

123456789101112131415161718192021222324252627
  1. // FinalSun Script file
  2. // Name: Move 4 starting points close to corners
  3. // Written By: Matthias Wagner
  4. // Last Change: August 21, 2001
  5. // Be careful when editing scripts, they may cause damage to maps if used improperly
  6. Print("Player count: %PlayerCount%");
  7. Print("Waypoint count: %WaypointCount%");
  8. Print("Unit count: %UnitCount%");
  9. Print("Infantry count: %InfantryCount%");
  10. Print("Structure count: %StructureCount%");
  11. Print("Aircraft count: %AircraftCount%");
  12. SetVariable("%WPCounter%","100");
  13. // BEGIN WAYPOINT LOOP
  14. :WaypointLoop:
  15. SetVariable("%WPID%","100");
  16. Substract("%WPID%","%WPCounter%");
  17. GetWaypointPos("%WPID%","%X%","%Y%");
  18. Print("Waypoint %WPID%: %X% / %Y%","%X%"); // List waypoint if x coordinate !=0, as we have non-existing waypoints
  19. Substract("%WPCounter%","1");
  20. JumpTo("WaypointLoop", "%WPCounter%");
  21. // END WAYPOINT LOOP