Background for Fallout 4
Member of the ObjectReference script
voidfunctionSetConveyorBeltVelocity(floatafLinVelX, floatafLinVelY, floatafLinVelZ)Native

Description

Wiki Description

Sets a conveyor belt velocity in local-space.

Documentation Comment

Set linear velocity for conveyor belt.


Caveats

CK Wiki - Notes

  • This fails gracefully. If no conveyor belt exists on the object it does nothing. No results are returned.

Parameters

floatafLinVelX

CK Wiki Description

New local-space linear velocity on the x-axis.

floatafLinVelY

CK Wiki Description

New local-space linear velocity on the y-axis.

floatafLinVelZ

CK Wiki Description

New local-space linear velocity on the z-axis.


Examples

Event OnActivate(ObjectReference aSource)
  Self.SetConveyorBeltVelocity(0.5,1.0,0.0);
EndEvent

Auto-Generated Example

float myFloat__afLinVelX
float myFloat__afLinVelY
float myFloat__afLinVelZ

myObjectReference__toCallFunctionOn.SetConveyorBeltVelocity(myFloat__afLinVelX, myFloat__afLinVelY, myFloat__afLinVelZ)

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.