SpeakLocation(location)

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

void SpeakLocation(
    location lLoc
);

Parameters

lLoc

Location to speak


Description

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



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"
//Speak my current location for debugging purposes
void main()
{
SpeakLocation(GetLocation(OBJECT_SELF));
}

See Also

functions: LocationToString
categories: Debug Functions


 author: Lilac Soul, editor: Mistress