Vector

From NWN Lexicon



Contents

[edit] Vector(float, float, float)

Creates a vector (position) from three points.

vector Vector(
    float fX = 0.0f,
    float fY = 0.0f,
    float fZ = 0.0f
);

[edit] Parameters

fX

x point of a triangle. (Default: 0.0f)

fY

y point of a triangle. (Default: 0.0f)

fZ

z point of a triangle. (Default: 0.0f)


[edit] Description

Returns a vector with the specified point values of fX, fY, and fZ.



[edit] Remarks

A common use for this command is when creating a new Location based on an objects location. Some knowledge of how vectors work is probably good for this purpose.


[edit] Version

1.61

[edit] See Also

functions: 

VectorToAngle



 author: Charles Feduke, editor: Lilac Soul
 

Personal tools
Categories