Common Includes

From Sinfar

Directory of common includes which may be useful for scripters

inc_debug

void Alert(string sString);

  • Send a debug message (See BuildDebugMessage()), to all builders that can modify this ERF and print this message in the log associated with the script

void Debug(string sString, object oBuilder=OBJECT_SELF);

  • Send a debug message (See BuildDebugMessage()), to oBuilder. If oBuilder is not a PC then the function will try to fun the best target: Master, Nearest Object
  • This function is slow and should only be use for debugging purpose.

string GetObjectDebugInfo(object oObject)

  • Builds a string of relevant information about a PC, creature or other object. Useful in a Log function, for example.

inc_chatcmd

x0_i0_stringlib

inc_x_cstmfac

pc_inc_teleport

Category:Scripting