OpenBVE icon indicating copy to clipboard operation
OpenBVE copied to clipboard

[Question] Detect door re-opening via plugin

Open Kenny-Hui opened this issue 2 years ago • 0 comments

Description

Currently the DoorChange method is only called from a Fully Closed Door to an Opened Door, and from an Fully Opened Door to a Closed Door. (And won't be called when reopening door mid-way)

Using the Doors Virtualkey in KeyDown method would work, but I still wouldn't be able to tell whether the player is opening or closing the door.

Is there a way to capture any door opening attempt from the .NET plugin interface?

Kenny-Hui avatar Apr 06 '22 16:04 Kenny-Hui