Mod:Creation Kit/ConveyorBeltOn - ObjectReference

Member of: ObjectReference Script

Sets a conveyor belt on/off state.

Syntax
Function ConveyorBeltOn( bool abOn = true ) native

Parameters

 * abOn: Desired On/Off state of the belt.
 * Default: True

Return Value
None

Examples
Event OnActivate(ObjectReference aSource) bool bonoff = Self.IsConveyorBeltOn; Self.ConveyorBeltOn(!bonoff); EndEvent