Background for Starfield
Member of the ObjectReference script
voidfunctionSetMotionType(intaeMotionType, boolabImmediatelySimulate=true)Native

[DEV SERVER] Loading description...


Caveats


Parameters

intaeMotionType

CK Wiki Description

New Havok motion type. Allowed values are:* Motion_Dynamic:The object will be simulated by Havok (fall, etc...)

boolabImmediatelySimulate=true


Examples

; Set the rock to no longer be simulated
Rock.SetMotionType(Rock.Motion_Keyframed)
; Set the rock to be simulated, but not to move until touched
Rock.SetMotionType(Rock.Motion_Dynamic, false)

Auto-Generated Example

int myInt__aeMotionType
bool myBool__abImmediatelySimulate

myObjectReference__toCallFunctionOn.SetMotionType(myInt__aeMotionType, myBool__abImmediatelySimulate)

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.