Background for Fallout 4
Member of the ObjectReference script
voidfunctionConveyorBeltOn(boolabOn=true)Native

Description

Wiki Description

Sets a conveyor belt on/off state.

Documentation Comment

Set conveyor belt on.


Caveats

CK Wiki - Notes

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

Parameters

boolabOn=true

CK Wiki Description

Desired On/Off state of the belt.

  • Default:True

Examples

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

Auto-Generated Example

bool myBool__abOn

myObjectReference__toCallFunctionOn.ConveyorBeltOn(myBool__abOn)

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.