SpeakLocation

From NWN Lexicon



Contents

[edit] SpeakLocation(location)

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

void SpeakLocation(
    location lLoc
);

[edit] Parameters

lLoc

Location to speak


[edit] Description

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



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

[edit] See Also

functions: 

LocationToString



 author: Lilac Soul, editor: Mistress
 

Personal tools
Categories