Skip to main content

ElevatorSequenceChanged

Gets called when elevator's sequence has changed.

Start a script section

!-- OnEvent ElevatorSequenceChanged
-- require *evElevator $evOldSequence $evNewSequence

# Add your instructions here
  • Group: ServerEvents
  • Cancellable: No
  • Event data: ElevatorSequenceChangedEventArgs

Injected variables

VariableTypeDescription
*evElevatorreference to Elevator objectThe elevator that is involved in the event.
$evOldSequenceElevatorSequence enum valueThe old sequence the elevator was in before.
$evNewSequenceElevatorSequence enum valueThe new sequence the elevator has transitioned into.