Category:Debug Functions

From NWN Lexicon
Jump to: navigation, search

Functions used to debug and test.

Functions

Name Brief Description

AnimDebug

Animation debugging function.

AssignAOEDebugString

Causes the creator of an area of effect spell to speak.

AssignPCDebugString

Causes the nearest PC speak a string.

dbCreateItemOnObject

This function creates the item for the NWN Treasure Distribution System.

dbSpeak

A debug function with a no-op implementation

DebugPrintTalentID

Sends a message to the server log file of the talent ID specified.

DebugSpeak

Speak a string used for debugging.

DebugSTR

Debug Method created by Bioware

DubugPrintTalentID

Doesn’t do anything

GetCenterPointOfArea

Approximates the central location of an area.

LocationToString

Turn a location into a string.

MyPrintString

Used for debugging in-game (turned on and off via commenting).

ObjectToString

Converts an object into a hexadecimal string.

PrintFloat

Records a floating point number to the log file.

PrintInteger

Records an integer to the log file.

PrintLocation

Prints a location to the logfile

PrintObject

Prints an object's ID number to the log file.

PrintString

Records a message to the log file.

PrintVector

Records a vector to the log file.

SendMessageToPC

Sends a message to the PC.

SpawnScriptDebugger

Fires the script debugger for debugging a running script.

SpeakLocation

Make the caller of the function speak a string representation of its current location.

WriteTimestampedLogEntry

Records a string in the log file along with a date-time stamp.