Mod:Creation Kit/ApplyConveyorBelt - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Applies a conveyor belt to the reference.

Syntax
Function ApplyConveyorBelt( string aTarget, float aLinVelX, float aLinVelY, float aLinVelZ, bool abOn = true, bool abReverse = false ) native

Parameters

 * aTarget: Name of the target scenegraph element that owns the rigidbody which represents the conveyor belt.
 * aLinVelX: Local-space linear velocity on the x-axis.
 * aLinVelY: Local-space linear velocity on the y-axis.
 * aLinVelZ: Local-space linear velocity on the z-axis.
 * abOn: Initial On/Off state of the belt.
 * Default: True
 * abReverse: Initial Reverse state of the belt.
 * Default: False

Return Value
None

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