PrintLocation(location)

Prints a location to the logfile

void PrintLocation(
    location lLoc
);

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

#include "x0_i0_position"
//Print my current location for debugging purposes
void main()
{
PrintLocation(GetLocation(OBJECT_SELF));
}

See Also

categories: Debug Functions


 author: Lilac Soul