SET VECTOR3 TO CAMERA ROTATION This command will set the vector3 data using the X, Y and Z angles from the specified camera rotation.
Syntax
    SET VECTOR3 TO CAMERA ROTATION Vector, Camera Number
Parameters
    Vector
Integer The vectornumber
    Camera Number
Integer The camera number
Returns
This command does not return a value.
Example Code
    VectorNumber=1 : CameraNumber=0

    result=make vector3(VectorNumber)

    set vector3 VectorNumber, 500, 10, 500

    position camera CameraNumber, VectorNumber

    set vector3 VectorNumber, 0, 45, 0

    rotate camera CameraNumber, VectorNumber

    set vector3 to camera position VectorNumber, CameraNumber

    set vector3 to camera rotation VectorNumber, CameraNumber

    x#=x vector3(VectorNumber)

    y#=y vector3(VectorNumber)

    result=delete vector3(VectorNumber)

    end
See also
CAMERA Commands Menu Index