LunaLua global functions

From Moondust Wiki
Revision as of 20:51, 14 October 2014 by Kevsoft (talk | contribs) (Created page with "{{API table|Term||2= {{API table/row|windowDebug({{type|string}} debugText)|{{type|nil}}|Writes ''debugText'' in a message box and shows it to the user.|odd}} {{API tabl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Term
Function Return values Description
windowDebug(string debugText) nil Writes debugText in a message box and shows it to the user.
print(string text, int x, int y) nil Prints text at x, y with font-type 3
print(string text, int type, int x, int y) nil Clears the entire screen.
totalNPC() number Returns the number of npcs.
npcs() npc Returns a array of all NPCs.