PrintLocation
From NWN Lexicon
Jump to navigationJump to search
PrintLocation(location)
Prints a location to the logfile
Parameters
lLoc
Location to print
Description
Prints a location's string representation to the logfile.
Remarks
Simply calls LocationToString and SpeakString's that.
This function will probably only be useful in debugging.
Function is found in x0_i0_position, but including nw_i0_generic will suffice.
Requirements
#include " x0_i0_position "
Version
1.61
Example
<nowiki>#include "x0_i0_position"
</nowiki>//Print my current location for debugging purposes
void main()
{
PrintLocation(GetLocation(OBJECT_SELF));
}
</nowiki>//Print my current location for debugging purposes
void main()
{
PrintLocation(GetLocation(OBJECT_SELF));
}
See Also
author: Lilac Soul