NifBlockGetVerticles

From GECK
Jump to: navigation, search


A function added by the SUP NVSE Plugin.

Description

Returns an array containing 3 arrays with cordinates of specified node verticles.

Syntax

[help]
(Verticles:array_var) reference.NifBlockGetVerticles blockName:string pcModel:1/2

Example

let myarray := Player.NifBlockGetVerticles "MyNode"

If node is valid and has verticles, myarray will contain 3 arrays, each containing X,Y,Z values of verticles.

let VertX := myarray[0][0]
let VertY := myarray[1][0]
let VertZ := myarray[2][0]
let VertX2 := myarray[0][1]
let VertY2 := myarray[1][1]
let VertZ2 := myarray[2][1] 

See Also