Difference between revisions of "Global functions"

From Project X Wiki
Jump to: navigation, search
 
(No difference)

Latest revision as of 13:22, 3 September 2010

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()