Global functions

From Project X Wiki
(Redirected from Debugging functions)
Jump to: navigation, search
Up one category:
void PrintMessage();
void PrintMessage(int i);

Shows "Script message" or "Script message : i" on top of the screen.

void ShowMessage(string msg);

Shows message msg on top of the screen.

string MakeNumberString(string lPart, int n, string rPart);

Creates string from left, right part and number between. (lPart + n + rPart). Warning - string can not be stored somewhere.

void SetColorMod(int Color,int BlendType)

Sets color modification for all further sprite rendering until ClearColorMod call.

Color - color. BlendType - see Blending modes

void ClearColorMod()