Mod:Creation Kit/IsConveyorBeltOn - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Get conveyor belt on/off state.

Syntax
bool Function IsConveyorBeltOn native

Parameters
None

Return Value
True if on, False if off or the conveyor belt does not exist.

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