Background for Fallout 4
Member of the ObjectReference script
voidfunctionSetAngle(floatafXAngle, floatafYAngle, floatafZAngle)Native

Description

Wiki Description

Sets the object's current rotation in the world.

Documentation Comment

Set the orientation of the object (angles are in degrees)


Caveats


Parameters

floatafXAngle

CK Wiki Description

Rotation around the X axis, in degrees.

floatafYAngle

CK Wiki Description

Rotation around the Y axis, in degrees.

floatafZAngle

CK Wiki Description

Rotation around the Z axis, in degrees.


Examples

; Set the statue to be facing the other way (180 around X)
StatueProperty.SetAngle(180.0, 0.0, 0.0)

Auto-Generated Example

float myFloat__afXAngle
float myFloat__afYAngle
float myFloat__afZAngle

myObjectReference__toCallFunctionOn.SetAngle(myFloat__afXAngle, myFloat__afYAngle, myFloat__afZAngle)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.