LocationToString

From NWN Lexicon



Contents

[edit] LocationToString(location)

Turn a location into a string.

string LocationToString(
    location loc
);

[edit] Parameters

loc

The location to be converted.


[edit] Description

Returns the string representation of the location(loc).



[edit] Remarks

Essentially a debug function that returns a string representation of the location parameter formatted as follows:
(AreaTag) (xAxis yAxis zAxis) (facing)
Where
AreaTag is a string
and
xAxis, yAxis, zAxis, and facing are floats

Calls
string FloatToString(float f)
string GetTag(object oArea)
object GetAreaFromLocation(location loc)
float GetFacingFromLocation(location loc)
vector GetPositionFromLocation(location loc)
string VectorToString(vector vec)


[edit] Requirements

#include " x0_i0_position "

[edit] Version

1.61

[edit] See Also

functions: 

VectorToString



 author: Grimlar, editor: Michael Nork
 

Personal tools
Categories