GetCameraTranslation

From GECK
Jump to: navigation, search


A function added by the JohnnyGuitar NVSE Plugin.

Description

Returns local or world camera position.

Syntax

[help]
GetCameraTranslation x:returnVariable y:returnVariable z:returnVariable worldOrLocal:int{0/1}

Example

int xOut
int yOut
int zOut
GetCameraTranslation xOut yOut zOut 1 // Stores local camera position in xOut, yOut and zOut variables