PrintLocation
From NWN Lexicon
Contents |
[edit] PrintLocation(location)
Prints a location to the logfile
void PrintLocation( location lLoc );
[edit] Parameters
lLoc
Location to print
[edit] Description
Prints a location's string representation to the logfile.
[edit] 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.
[edit] Requirements
#include " x0_i0_position "
[edit] Version
1.61
[edit] Example
<nowiki>#include "x0_i0_position" </nowiki>//Print my current location for debugging purposes void main() { PrintLocation(GetLocation(OBJECT_SELF)); }
[edit] See Also
author: Lilac Soul