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.