Background for Fallout 4
Member of the ObjectReference script
voidfunctionApplyConveyorBelt(stringaTarget, floataLinVelX, floataLinVelY, floataLinVelZ, boolabOn=true, boolabReverse=false)Native

Description

Wiki Description

Applies a conveyor belt to the reference.

Documentation Comment

Add conveyor belt to this reference


Caveats

CK Wiki - Notes

  • Only 1 conveyor may be attached to a reference at a time.
    • Any physics bodies under the target will also be considered conveyor belts.

Parameters

stringaTarget

CK Wiki Description

Name of the target scenegraph element that owns the rigidbody which represents the conveyor belt.

floataLinVelX

CK Wiki Description

Local-space linear velocity on the x-axis.

floataLinVelY

CK Wiki Description

Local-space linear velocity on the y-axis.

floataLinVelZ

CK Wiki Description

Local-space linear velocity on the z-axis.

boolabOn=true

CK Wiki Description

Initial On/Off state of the belt.

  • Default:True

boolabReverse=false

CK Wiki Description

Initial Reverse state of the belt.

  • Default:False

Examples

Event OnInit()
  ;Apply conveyor belt to the "Belt" of the 3D of this object.
  Self.ApplyConveyorBelt("Belt", 1.0, 0.5, 0.0, true,false);
EndEvent

Auto-Generated Example

string myString__aTarget
float myFloat__aLinVelX
float myFloat__aLinVelY
float myFloat__aLinVelZ
bool myBool__abOn
bool myBool__abReverse

myObjectReference__toCallFunctionOn.ApplyConveyorBelt(myString__aTarget, myFloat__aLinVelX, myFloat__aLinVelY, myFloat__aLinVelZ, myBool__abOn, myBool__abReverse)

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.