Global functions

From Project X Wiki
Revision as of 13:22, 3 September 2010 by Entuser (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Up one category:
Scripting
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()