Difference between revisions of "Category:Debug Functions"

From NWN Lexicon
Jump to: navigation, search
(Blanked the page)
(Restored page that was vandalized by bot)
 
Line 1: Line 1:
 +
Functions used to debug and test.
  
 +
==Functions==
 +
 +
{| border="1" cellpadding="5"
 +
! Name
 +
! Brief Description
 +
|-
 +
|
 +
[[AnimDebug | AnimDebug ]]
 +
| Animation debugging function.
 +
|-
 +
|
 +
[[AssignAOEDebugString | AssignAOEDebugString ]]
 +
| Causes the creator of an area of effect spell to speak.
 +
|-
 +
|
 +
[[AssignPCDebugString | AssignPCDebugString ]]
 +
| Causes the nearest PC speak a string.
 +
|-
 +
|
 +
[[dbCreateItemOnObject | dbCreateItemOnObject ]]
 +
| This function creates the item for the NWN Treasure Distribution System.
 +
|-
 +
|
 +
[[dbSpeak | dbSpeak ]]
 +
| A debug function with a no-op implementation
 +
|-
 +
|
 +
[[DebugPrintTalentID | DebugPrintTalentID ]]
 +
| Sends a message to the server log file of the talent ID specified.
 +
|-
 +
|
 +
[[DebugSpeak | DebugSpeak ]]
 +
| Speak a string used for debugging.
 +
|-
 +
|
 +
[[DebugSTR | DebugSTR ]]
 +
| Debug Method created by Bioware
 +
|-
 +
|
 +
[[DubugPrintTalentID | DubugPrintTalentID ]]
 +
| Doesn’t do anything
 +
|-
 +
|
 +
[[GetCenterPointOfArea | GetCenterPointOfArea ]]
 +
| Approximates the central location of an area.
 +
|-
 +
|
 +
[[LocationToString | LocationToString ]]
 +
| Turn a location into a string.
 +
|-
 +
|
 +
[[MyPrintString | MyPrintString ]]
 +
| Used for debugging in-game (turned on and off via commenting).
 +
|-
 +
|
 +
[[ObjectToString | ObjectToString ]]
 +
| Converts an object into a hexadecimal string.
 +
|-
 +
|
 +
[[PrintFloat | PrintFloat ]]
 +
| Records a floating point number to the log file.
 +
|-
 +
|
 +
[[PrintInteger | PrintInteger ]]
 +
| Records an integer to the log file.
 +
|-
 +
|
 +
[[PrintLocation | PrintLocation ]]
 +
| Prints a location to the logfile
 +
|-
 +
|
 +
[[PrintObject | PrintObject ]]
 +
| Prints an object's ID number to the log file.
 +
|-
 +
|
 +
[[PrintString | PrintString ]]
 +
| Records a message to the log file.
 +
|-
 +
|
 +
[[PrintVector | PrintVector ]]
 +
| Records a vector to the log file.
 +
|-
 +
|
 +
[[SendMessageToPC | SendMessageToPC ]]
 +
| Sends a message to the PC.
 +
|-
 +
|
 +
[[SpawnScriptDebugger | SpawnScriptDebugger ]]
 +
| Fires the script debugger for debugging a running script.
 +
|-
 +
|
 +
[[SpeakLocation | SpeakLocation ]]
 +
| Make the caller of the function speak a string representation of its current location.
 +
|-
 +
|
 +
[[WriteTimestampedLogEntry | WriteTimestampedLogEntry ]]
 +
| Records a string in the log file along with a date-time stamp.
 +
|}
 +
 +
----
 +
[[Category:Functions]]
 +
[[Category:Function_Categories]]

Latest revision as of 01:38, 6 September 2012

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.