SpeakLocation

From NWN Lexicon
Jump to: navigation, search



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

<nowiki>#include "x0_i0_position"
</nowiki>//Speak my current location for debugging purposes
void main()
{
SpeakLocation(GetLocation(OBJECT_SELF));
}

See Also

functions: 

LocationToString



 author: Lilac Soul, editor: Mistress