Debug Utilities

Several functions that helps debugging.

string   BoolToString (bool b);
string  FixedToString (fixed f, int precision);
string  PointToString (point p);
string  OrderToString (order o);
string   UnitToString (unit u);
string PlayerToString (int p);

void d (string s);  // Debug String
void dt (text s);   // Debug Text
void di (int i);    // Debug Int
void df (fixed f);  // Debug Fixed
void db (bool b);   // Debug Bool
void dp (point p);  // Debug Point
void dpl (int p);   // Debug Player
void dord(order o); // Debug Order
void du (unit u);   // Debug Unit
void dg (unitgroup g); // Debug UnitGroup
void duo (unit u);  // Debug Unit Orders

void print (int loc, string msg); // Print a Message at an area

Requires Basic Mathematic Functions galaxy script.


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    22469
  • Created
    Mar 12, 2010
  • Last Released File
    Mar 27, 2010
  • Total Downloads
    2,330
  • License

Categories

Members

Recent Files