NWNWiki
Advertisement
NWNWiki
3,718
pages

LocationToString(location)

Turn a location into a string.

string LocationToString(
    location loc
);

Parameters[]

location 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[]

Funtions: FloatToString | GetAreaFromLocation | GetFacingFromLocation | GetPositionFromLocation | GetTag | SpeakLocation | VectorToString

Converted fron NWNLexicon

author: Grimlar, editor: Michael Nork

Advertisement