LocationToString(location)

Turn a location into a string.

string LocationToString(
    location loc
);

Parameters

loc

The location to be converted.


Description

Returns the string representation of the location(loc).



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)


Requirements

#include "x0_i0_position"

Version

1.61

See Also

functions: FloatToString | GetAreaFromLocation | GetFacingFromLocation | GetPositionFromLocation | GetTag | SpeakLocation | VectorToString
categories: Area Functions | Debug Functions


 author: Grimlar, editor: Michael Nork