LunaLua global functions

From Moondust Wiki
Revision as of 20:52, 14 October 2014 by Kevsoft (talk | contribs)
Jump to navigation Jump to search
Global Functions
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.