LocationToString
From NWNWiki
Contents |
[edit] LocationToString(location)
Turn a location into a string.
string LocationToString(
location loc
);
[edit] Parameters
- location 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
[edit] 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
Funtions: FloatToString | GetAreaFromLocation | GetFacingFromLocation | GetPositionFromLocation | GetTag | SpeakLocation | VectorToString
Converted fron NWNLexicon
author: Grimlar, editor: Michael Nork
