IsConveyorBeltOn - ObjectReference
Member of: ObjectReference Script
Get conveyor belt on/off state.
SyntaxEdit
bool Function IsConveyorBeltOn( ) native
ParametersEdit
None
Return ValueEdit
True if on, False if off or the conveyor belt does not exist.
ExamplesEdit
Event OnActivate(ObjectReference aSource)
bool bonoff = Self.IsConveyorBeltOn();
Self.ConveyorBeltOn(!bonoff);
EndEvent