VectorToString

From NWN Lexicon
Jump to: navigation, search



VectorToString(vector)

Turn a vector into a string.

string VectorToString(
    vector vec
);

Parameters

vec

The vector to be converted.


Description

Essentially a debug function that returns a string representation of the vector parameter formatted as follows:
(xAxis yAxis zAxis)

Where:
xAxis, yAxis, and zAxis, are floats

Calls
string FloatToString(float f)



Requirements

#include " x0_i0_position "

Version

1.61

See Also

functions: 

LocationToString



 author: Grimlar, editor: Michael Nork