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

  1. stringaTarget

    CK Wiki Description

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

  2. floataLinVelX

    CK Wiki Description

    Local-space linear velocity on the x-axis.

  3. floataLinVelY

    CK Wiki Description

    Local-space linear velocity on the y-axis.

  4. floataLinVelZ

    CK Wiki Description

    Local-space linear velocity on the z-axis.

  5. boolabOn=true

    CK Wiki Description

    Initial On/Off state of the belt.

    • Default:True
  6. 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.