IsConveyorBeltOn - ObjectReference

Revision as of 10:48, 18 March 2016 by imported>Arthmoor (Created page with "Category:Scripting Category:Papyrus '''Member of:''' ObjectReference Script Get conveyor belt on/off state. == Syntax == <source lang="papyrus"> bool Function IsCon...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

See AlsoEdit